reading accounts out of LDAP

  • Thread starter Thread starter Brian Henry
  • Start date Start date
B

Brian Henry

does anyone know how to get a listing of accounts in a LDAP directory in
VB.Net? thanks
 
Hi Brian,

I think we can use the System.DirectoryServices in .net framework.

System.DirectoryServices Namespace
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemdirectoryservices.asp
Searching Active Directory Hierarchies
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/
vbtsksearchingactivedirectoryhierarchy.asp

Here is a sample for C#.
http://www.codeproject.com/csharp/ActiveDirectoryBrowser1.asp?target=enumera
te%7Clistview

If you still have any concern on this issue, please feel free to let me
know.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top