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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

get AD user properties from a specific DC

Status
Not open for further replies.

peterve

IS-IT--Management
Mar 19, 2000
1,348
NL
Hi,

How can I connect to a specific Active Directory Domain Controller, and get the user properties of a specific user on that controller using C# ?

I'd like to use the functions that are part of System.DirectoryServices.
I know how to connect to the domain and get a list of users, but I have multiple domain controllers and I want to get the user properties for 1 user, but launch the search/query against a specific domain controller.

thanks

--------------------------------------------------------------------
How can I believe in God when just last week I got my tongue caught in the roller of an electric typewriter?
---------------------------------------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top