如写企业内网的应用程序时,会经常需要访问域活动目录信息。下面表格是域活动目录(Active Directory) 属性以及说明。
LDAP Property Name
|
Description
|
Data Type
|
givenName
|
First Name
|
String
|
initials
|
Initials
|
String
|
sn
|
Last name
|
String
|
displayName
|
Display name
|
String
|
description
|
Description
|
String
|
physicalDeliveryOfficeName
|
Office
|
String
|
telephoneNumber
|
Telephone number
|
String
|
otherTelephone
|
Other Telephone numbers
|
String
|
mail
|
E-mail
|
String
|
wWWHomePage
|
Web page
|
String
|
url
|
Other Web pages
|
String
|
streetAddress
|
Street
|
String
|
postOfficeBox
|
P.O. Box
|
String
|
l
|
City
|
String
|
st
|
State/province
|
String
|
postalCode
|
Zip/Postal Code
|
String
|
c, co, countryCode
|
Country/region
|
String
|
userPrincipalName
|
User logon name
|
String
|
sAMAccountName
|
pre-Windows 2000 logon name
|
String
|
userAccountControl
|
Account disabled?
|
Boolean
|
profilePath
|
User Profile path
|
String
|
scriptPath
|
Logon script
|
String
|
homeDirectory
|
Home folder, local path
|
String
|
homeDrive
|
Home folder, Connect, Drive
|
String
|
homeDirectory
|
Home folder, Connect, To:
|
String
|
title
|
Title
|
String
|
department
|
Department
|
String
|
company
|
Company
|
String
|
manager
|
Manager
|
String
|
mobile
|
Mobile
|
String
|
facsimileTelephoneNumber
|
Fax
|
String
|
info
|
Notes
|
String
|