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...
use a image control instead or place a image control inside the borders of picture box and set the STRETCH property of the image control to true. it will resize the picture to fill the entire area of the picture box.
Hope this helps.
Hi Pete
You cannot update the values in a collection because it can only store objects. All you can do is a .add and .remove on a collection. if your requirement is to maintain a total which can be updated using keys, try using scripting.dictionary object, using dictionary object you can update...
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.