Active Directory: retrieving all users in a group

  • Thread starter Thread starter rh
  • Start date Start date
R

rh

Hi,

I need to retrieve all usernames within an active directory security group
(including sub-groups) into my C# application. Is there a relatively simple
way of doing this? (I'm hoping for a simple ldap query but I feel I'm out of
luck)

Thanks,
-rh
 
rh said:
Hi,

I need to retrieve all usernames within an active directory security group (including
sub-groups) into my C# application. Is there a relatively simple way of doing this? (I'm
hoping for a simple ldap query but I feel I'm out of luck)

Thanks,
-rh



Take a look at the DirectoryEntry & DirectorySearcher classes in System.DirectoryServices in
the docs.

Willy.
 
Back
Top