Computers & ProgrammingComputers & NetworkingWindows Server

Common Active Directory User Attributes

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.

DisplayAttribute
International ISDN Number (Others)internationalISDNNumber
accountExpiresaccountExpires
accountNameHistoryaccountNameHistory
aCSPolicyNameaCSPolicyName
adminCountadminCount
altSecurityIdentitiesaltSecurityIdentities
Assistantassistant
badPasswordTimebadPasswordTime
badPwdCountbadPwdCount
Cityl
codePagecodePage
Commentcomment
Companycompany
controlAccessRightscontrolAccessRights
Countryco
Country Abbreviationc
countryCodecountryCode
dBCSPwddBCSPwd
defaultClassStoredefaultClassStore
Departmentdepartment
desktopProfiledesktopProfile
destinationIndicatordestinationIndicator
Divisiondivision
dynamicLDAPServerdynamicLDAPServer
E-Mail Addressmail
E-Mail Address (Others)otherMailbox
Employee IDemployeeID
Fax NumberfacsimileTelephoneNumber
Fax Number (Others)otherFacsimileTelephoneNumber
First NamegivenName
garbageCollPeriodgarbageCollPeriod
Generational SuffixgenerationQualifier
groupMembershipSAMgroupMembershipSAM
groupPrioritygroupPriority
groupsToIgnoregroupsToIgnore
Home AddresshomePostalAddress
Home DrivehomeDrive
Home FolderhomeDirectory
Home PhonehomePhone
Home Phone (Others)otherHomePhone
Initialsinitials
International ISDN NumberprimaryInternationalISDNNumber
IP Phone NumberipPhone
IP Phone Number (Others)otherIpPhone
Job Titletitle
lastLogofflastLogoff
lastLogonlastLogon
legacyExchangeDNlegacyExchangeDN
lmPwdHistorylmPwdHistory
localeIDlocaleID
lockoutTimelockoutTime
Logon NameuserPrincipalName
Logon Name (pre-Windows 2000)sAMAccountName
Logon WorkstationsuserWorkstations
logonCountlogonCount
logonHourslogonHours
logonWorkstationlogonWorkstation
Managermanager
maxStoragemaxStorage
mhsORAddressmhsORAddress
Middle NamemiddleName
Mobile Numbermobile
Mobile Number (Others)otherMobile
mS-DS-CreatorSIDmS-DS-CreatorSID
mSMQDigestsmSMQDigests
mSMQDigestsMigmSMQDigestsMig
mSMQSignCertificatesmSMQSignCertificates
mSMQSignCertificatesMigmSMQSignCertificatesMig
msNPAllowDialinmsNPAllowDialin
msNPCallingStationIDmsNPCallingStationID
msNPSavedCallingStationIDmsNPSavedCallingStationID
msRADIUSCallbackNumbermsRADIUSCallbackNumber
msRADIUSFramedIPAddressmsRADIUSFramedIPAddress
msRADIUSFramedRoutemsRADIUSFramedRoute
msRADIUSServiceTypemsRADIUSServiceType
msRASSavedCallbackNumbermsRASSavedCallbackNumber
msRASSavedFramedIPAddressmsRASSavedFramedIPAddress
msRASSavedFramedRoutemsRASSavedFramedRoute
Namecn
networkAddressnetworkAddress
Notesinfo
ntPwdHistoryntPwdHistory
nTSecurityDescriptornTSecurityDescriptor
oo
objectSidobjectSid
Office LocationphysicalDeliveryOfficeName
operatorCountoperatorCount
otherLoginWorkstationsotherLoginWorkstations
ouou
Pager Numberpager
Pager Number (Others)otherPager
Phone Number (Others)otherTelephone
Post Office BoxpostOfficeBox
postalAddresspostalAddress
preferredDeliveryMethodpreferredDeliveryMethod
preferredOUpreferredOU
primaryGroupIDprimaryGroupID
profilePathprofilePath
pwdLastSetpwdLastSet
registeredAddressregisteredAddress
ridrid
sAMAccountTypesAMAccountType
scriptPathscriptPath
securityIdentifiersecurityIdentifier
servicePrincipalNameservicePrincipalName
showInAddressBookshowInAddressBook
sIDHistorysIDHistory
State/Provincest
streetstreet
Street AddressstreetAddress
supplementalCredentialssupplementalCredentials
Telephone NumbertelephoneNumber
teletexTerminalIdentifierteletexTerminalIdentifier
Telex NumberprimaryTelexNumber
Telex Number (Others)telexNumber
terminalServerterminalServer
textEncodedORAddresstextEncodedORAddress
thumbnailLogothumbnailLogo
thumbnailPhotothumbnailPhoto
TitlepersonalTitle
tokenGroupstokenGroups
tokenGroupsGlobalAndUniversaltokenGroupsGlobalAndUniversal
tokenGroupsNoGCAcceptabletokenGroupsNoGCAcceptable
unicodePwdunicodePwd
userAccountControluserAccountControl
userCertuserCert
userCertificateuserCertificate
userParametersuserParameters
userSharedFolderuserSharedFolder
userSharedFolderOtheruserSharedFolderOther
userSMIMECertificateuserSMIMECertificate
x121Addressx121Address
ZIP/Postal CodepostalCode

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top