I have the task of listing all groups in a domain, and under each group i need to list the members of the top level group and any sub-groups if any.
Requirement is something like this.
Group 1
--Member 1
--Member 2
--Member n
----Group 2 (Sub-group)
------Member 3
------Member 4
------Member n...
How to fetch all the AD Groups from Active directory for a specific DOMAIN and LOCATION using LDAP.
I have tried following code, which returns all groups for a domain, but i am unable to filter it out by LOCATION.
Dim enTry As DirectoryEntry = New DirectoryEntry("LDAP://SOMEDOMAIN")
Dim...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.