Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #54.9K
~4K People Reached
Favorite Forums
Member Avatar for AlBars

Hi I am using the following code to retrieve all the members of a specific active directory group. The code works but the problem is that the code returns all users in "distinguishedName" form which has a lot of extra info I don't need. I need the users to be …

Member Avatar for paulreg
0
2K
Member Avatar for noamwegner

i have the groups names in the database after getting them i get the manager from the active directory using directory searcher like this [CODE] public string getGroupManagersMail(string groupname) { DirectoryEntry drtEnt = new DirectoryEntry("LDPA=//DC=domain,DC=mil"); DirectorySearcher ds = new DirectedorySearcher(drtEnt, "sAMAccountName" + groupname); ds.PropertiesToLoad.Add("managedby"); SearchResult sr = ds.FindOne(); [/CODE] i …

Member Avatar for piyush.agrawal
0
237
Member Avatar for delcatto

A fast and universal way to get all the user information on the active directory with export to csv. Don't forget to make a reference to system.directoryServices. [CODE] 'CONNECT 'with Authentication 'Public enTry As System.DirectoryServices.DirectoryEntry = New DirectoryServices.DirectoryEntry("LDAP://YOURSERVER", "USER", "PASSWORD", DirectoryServices.AuthenticationTypes.Secure) 'no Authentication Public enTry As System.DirectoryServices.DirectoryEntry = New System.DirectoryServices.DirectoryEntry("LDAP://YOURSERVER") …

Member Avatar for piyush.agrawal
0
2K