Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Load User Names Into Combo Box

Status
Not open for further replies.

marydn

Programmer
Mar 26, 2001
152
US
Hello,

I need to pull all the users from Active Directory into my win forms application combo box using VB. I set the properties to load "name" and get firstname, last name. However, when users sign into the network the have to type in first letter of firtname and full last name. I am not well versed in Active Directory. So I was wondering how I would go about pulling exactly what the end user needs to type in to get access to the network.

Thanks,

M.
 
The property you need to get is 'SAMAccountName' which holds the login name of the user
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top