Re: Enumerate AD groups
- From: "Leon Mayne [MVP]" <l.rmv.mayne@xxxxxxxxx>
- Date: Mon, 10 Oct 2005 09:56:27 +0100
Ray Cassick (Home) wrote:
> I am writing an application that is setting some access rights and
> before it goes about it business I want to have the app check to make
> sure that the groups it will be using are actually present. I have
> code that enumerates the groups that belong to a specific user but
> nothing that will actually just give me a listing of available groups.
Depends on how your AD is setup. If you have it set up so your groups are
listed under e.g. OU=Groups,DC=yourdomain,DC=com then you should just be
able to loop through the contents of that OU and get the CNs of all the
groups underneath it.
There's some code at http://www.codeproject.com/dotnet/ActiveDONavigator.asp
which might help with looping through the groups.
.
- References:
- Enumerate AD groups
- From: Ray Cassick \(Home\)
- Enumerate AD groups
- Prev by Date: ListBox SelectionMode
- Next by Date: issue with datagrid lostfocus event
- Previous by thread: Enumerate AD groups
- Next by thread: Re: Enumerate AD groups
- Index(es):
Relevant Pages
|