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

Emuerate All User Properties

Status
Not open for further replies.

twooly

MIS
Feb 22, 2004
122
US
Can some help me one how I can enumerate all user properties in AD instead of having to specify what I want like below? I'm looking for a specific value but also want to know the attributeName that is hold it. Thanks in advance.

objCommand.CommandText = "<" & strADsPath & ">;(&(objectcategory=person)(objectclass=user)(sn=LastName)(givenName=FirstName));mail,employeeNumber,sn,givenName,sAMAccountName,TelephoneNumber,EmployeeID;Subtree"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top