Here is a listing of common Active Directory user attributes that can be easily queried using a variety of methods such as VB, C#, or even VBScript.
Once you learn how to query the directory and brush up on your coding, it will be easy for you to build custom applications that integrate very well.
| Display | Attribute |
|---|---|
| International ISDN Number (Others) | internationalISDNNumber |
| accountExpires | accountExpires |
| accountNameHistory | accountNameHistory |
| aCSPolicyName | aCSPolicyName |
| adminCount | adminCount |
| altSecurityIdentities | altSecurityIdentities |
| Assistant | assistant |
| badPasswordTime | badPasswordTime |
| badPwdCount | badPwdCount |
| City | l |
| codePage | codePage |
| Comment | comment |
| Company | company |
| controlAccessRights | controlAccessRights |
| Country | co |
| Country Abbreviation | c |
| countryCode | countryCode |
| dBCSPwd | dBCSPwd |
| defaultClassStore | defaultClassStore |
| Department | department |
| desktopProfile | desktopProfile |
| destinationIndicator | destinationIndicator |
| Division | division |
| dynamicLDAPServer | dynamicLDAPServer |
| E-Mail Address | mail |
| E-Mail Address (Others) | otherMailbox |
| Employee ID | employeeID |
| Fax Number | facsimileTelephoneNumber |
| Fax Number (Others) | otherFacsimileTelephoneNumber |
| First Name | givenName |
| garbageCollPeriod | garbageCollPeriod |
| Generational Suffix | generationQualifier |
| groupMembershipSAM | groupMembershipSAM |
| groupPriority | groupPriority |
| groupsToIgnore | groupsToIgnore |
| Home Address | homePostalAddress |
| Home Drive | homeDrive |
| Home Folder | homeDirectory |
| Home Phone | homePhone |
| Home Phone (Others) | otherHomePhone |
| Initials | initials |
| International ISDN Number | primaryInternationalISDNNumber |
| IP Phone Number | ipPhone |
| IP Phone Number (Others) | otherIpPhone |
| Job Title | title |
| lastLogoff | lastLogoff |
| lastLogon | lastLogon |
| legacyExchangeDN | legacyExchangeDN |
| lmPwdHistory | lmPwdHistory |
| localeID | localeID |
| lockoutTime | lockoutTime |
| Logon Name | userPrincipalName |
| Logon Name (pre-Windows 2000) | sAMAccountName |
| Logon Workstations | userWorkstations |
| logonCount | logonCount |
| logonHours | logonHours |
| logonWorkstation | logonWorkstation |
| Manager | manager |
| maxStorage | maxStorage |
| mhsORAddress | mhsORAddress |
| Middle Name | middleName |
| Mobile Number | mobile |
| Mobile Number (Others) | otherMobile |
| mS-DS-CreatorSID | mS-DS-CreatorSID |
| mSMQDigests | mSMQDigests |
| mSMQDigestsMig | mSMQDigestsMig |
| mSMQSignCertificates | mSMQSignCertificates |
| mSMQSignCertificatesMig | mSMQSignCertificatesMig |
| msNPAllowDialin | msNPAllowDialin |
| msNPCallingStationID | msNPCallingStationID |
| msNPSavedCallingStationID | msNPSavedCallingStationID |
| msRADIUSCallbackNumber | msRADIUSCallbackNumber |
| msRADIUSFramedIPAddress | msRADIUSFramedIPAddress |
| msRADIUSFramedRoute | msRADIUSFramedRoute |
| msRADIUSServiceType | msRADIUSServiceType |
| msRASSavedCallbackNumber | msRASSavedCallbackNumber |
| msRASSavedFramedIPAddress | msRASSavedFramedIPAddress |
| msRASSavedFramedRoute | msRASSavedFramedRoute |
| Name | cn |
| networkAddress | networkAddress |
| Notes | info |
| ntPwdHistory | ntPwdHistory |
| nTSecurityDescriptor | nTSecurityDescriptor |
| o | o |
| objectSid | objectSid |
| Office Location | physicalDeliveryOfficeName |
| operatorCount | operatorCount |
| otherLoginWorkstations | otherLoginWorkstations |
| ou | ou |
| Pager Number | pager |
| Pager Number (Others) | otherPager |
| Phone Number (Others) | otherTelephone |
| Post Office Box | postOfficeBox |
| postalAddress | postalAddress |
| preferredDeliveryMethod | preferredDeliveryMethod |
| preferredOU | preferredOU |
| primaryGroupID | primaryGroupID |
| profilePath | profilePath |
| pwdLastSet | pwdLastSet |
| registeredAddress | registeredAddress |
| rid | rid |
| sAMAccountType | sAMAccountType |
| scriptPath | scriptPath |
| securityIdentifier | securityIdentifier |
| servicePrincipalName | servicePrincipalName |
| showInAddressBook | showInAddressBook |
| sIDHistory | sIDHistory |
| State/Province | st |
| street | street |
| Street Address | streetAddress |
| supplementalCredentials | supplementalCredentials |
| Telephone Number | telephoneNumber |
| teletexTerminalIdentifier | teletexTerminalIdentifier |
| Telex Number | primaryTelexNumber |
| Telex Number (Others) | telexNumber |
| terminalServer | terminalServer |
| textEncodedORAddress | textEncodedORAddress |
| thumbnailLogo | thumbnailLogo |
| thumbnailPhoto | thumbnailPhoto |
| Title | personalTitle |
| tokenGroups | tokenGroups |
| tokenGroupsGlobalAndUniversal | tokenGroupsGlobalAndUniversal |
| tokenGroupsNoGCAcceptable | tokenGroupsNoGCAcceptable |
| unicodePwd | unicodePwd |
| userAccountControl | userAccountControl |
| userCert | userCert |
| userCertificate | userCertificate |
| userParameters | userParameters |
| userSharedFolder | userSharedFolder |
| userSharedFolderOther | userSharedFolderOther |
| userSMIMECertificate | userSMIMECertificate |
| x121Address | x121Address |
| ZIP/Postal Code | postalCode |











