Active Directory Users to Sql Server Table

Hi Guys,

I am trying to retrieve all the users in the Active Directory and dump into a Sql Server Table(Sql2008). I was able to search one employee at a time but could not able to search all the employees in the Active Directory. Basically i want to retrieve 1.SamAccountname and 2.Employeenumber. Can you guys help me with the code?
I am using VS2010/VB.NET/ASP.NET. Appreciate your help.
Thanks

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories