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"
objCommand.CommandText = "<" & strADsPath & ">;(&(objectcategory=person)(objectclass=user)(sn=LastName)(givenName=FirstName));mail,employeeNumber,sn,givenName,sAMAccountName,TelephoneNumber,EmployeeID;Subtree"