

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# AWS Directory Service Data 屬性
<a name="ad_data_attributes"></a>

 本主題說明如何使用 [AWS Directory Service Data API 參考](https://docs.aws.amazon.com//directoryservicedata/latest/DirectoryServiceDataAPIReference/Welcome.html)中的屬性。

## 請求屬性
<a name="ad_data-attributes-request"></a>

 必須在請求內文參數中定義下列屬性。如需如何定義這些屬性的範例，請參閱 *AWS Directory Service Data API 參考*中的 [CreateGroup](https://docs.aws.amazon.com/directoryservicedata/latest/DirectoryServiceDataAPIReference/API_CreateGroup.html)。


| Directory Service Data 屬性名稱 | LDAP 顯示名稱 | AWS 管理主控台 | PowerShell 別名 | 存取類型 | 物件類型 | 屬性值 | 可搜尋 | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|   [DistinguishedName](https://learn.microsoft.com/en-us/windows/win32/adschema/a-distinguishedname)   |  distinguishedName  | 辨別名稱 |  無  |  ReadOnly  |  使用者、群組  |  String  |  否  | 
|   [EmailAddress](https://learn.microsoft.com/en-us/windows/win32/adschema/a-mail)   |  郵件  | 電子郵件地址 |  EmailAddress  |  可建立  |  使用者  |  String  |  是  | 
|   已啟用   |  無  | 已啟用 |  已啟用  |  Mutable  |  使用者  |  Boolean  |  否  | 
|   [GivenName](https://learn.microsoft.com/en-us/windows/win32/adschema/a-givenname)   |  givenName  | 名字 |  GivenName  |  可建立  |  使用者  |  String  |  是  | 
|   [GroupScope](https://learn.microsoft.com/en-us/windows/win32/adschema/a-grouptype)   |  groupScope  | Group scope (群組範圍) |  無  |  可建立  |  Group  |  列舉  |  否  | 
|   [GroupType](https://learn.microsoft.com/en-us/windows/win32/adschema/a-grouptype)   |  groupType  | Group type (群組類型) |  無  |  可建立  |  Group  |  列舉  |  否  | 
|   [SamAccountName](https://learn.microsoft.com/en-us/windows/win32/adschema/a-samaccountname)   |  sAMAccountName  | User logon name (使用者登入名稱) |  sAMAccountName  |  可建立  |  使用者、群組  |  String  |  是  | 
|   [SID](https://learn.microsoft.com/en-us/windows/win32/adschema/a-objectsid)   |  objectSid  | 使用者/群組安全識別符 (SID) |  SID  |  ReadOnly  |  使用者、群組  |  String  |  否  | 
|   [姓氏](https://learn.microsoft.com/en-us/windows/win32/adschema/a-sn)   |  sn  | 姓氏 |  Surname  |  可建立  |  使用者  |  String  |  是  | 
|   [UserPrincipalName](https://learn.microsoft.com/en-us/windows/win32/adschema/a-userprincipalname)   |  userPrincipalName  | 使用者主體名稱 |  UserPrincipalName  |  ReadOnly  |  使用者  |  String  |  否  | 

## 其他屬性
<a name="ad_data-attributes-other"></a>

 下列屬性必須在 中定義`OtherAttributes`，且不對應至任何請求內文參數。當您在請求中定義其他屬性時，您必須指定屬性名稱、資料類型和每個屬性的值。如需如何定義這些屬性的範例，請參閱 *AWS Directory Service Data API 參考*中的 [CreateUser](https://docs.aws.amazon.com/directoryservicedata/latest/DirectoryServiceDataAPIReference/API_CreateUser.html)。

**注意**  
 這些屬性的名稱*在做為輸入提供時*不區分大小寫，且等同於 LDAP 顯示名稱。


| Directory Service Data 屬性名稱 | LDAP 顯示名稱 | AWS 管理主控台 | PowerShell 別名 | 存取類型 | 物件類型 | 屬性值 | 可搜尋 | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|   [助理](https://learn.microsoft.com/en-us/windows/win32/adschema/a-assistant)   |  assistant  | 助理 |  無  |  ReadOnly  |  使用者  |  String  |  否  | 
|   [Cn](https://learn.microsoft.com/en-us/windows/win32/adschema/a-cn)   |  cn  | Common Name (通用名稱) |  無  |  ReadOnly  |  使用者、群組  |  String  |  否  | 
|   [Co](https://learn.microsoft.com/en-us/windows/win32/adschema/a-co)   |  Co  | 國家/區域 |  Country  |  Mutable  |  使用者  |  String  |  否  | 
|   [公司](https://learn.microsoft.com/en-us/windows/win32/adschema/a-company)   |  company  | 公司 |  公司  |  可建立  |  使用者  |  String  |  否  | 
|   [部門](https://learn.microsoft.com/en-us/windows/win32/adschema/a-department)   |  department  | Department |  Department  |  可建立  |  使用者  |  String  |  否  | 
|   [Description](https://learn.microsoft.com/en-us/windows/win32/adschema/a-description)   |  description  | Description |  Description  |  可建立  |  使用者、群組  |  String  |  否  | 
|   [DirectReports](https://learn.microsoft.com/en-us/windows/win32/adschema/a-directreports)   |  directReports  | 直屬員工 |  無  |  ReadOnly  |  使用者  |  字串集  |  否  | 
|   [DisplayName](https://learn.microsoft.com/en-us/windows/win32/adschema/a-displayname)   |  displayName  | 顯示名稱 |  DisplayName  |  可建立  |  使用者、群組  |  String  |  是  | 
|   [FacsimileTelephoneNumber](https://learn.microsoft.com/en-us/windows/win32/adschema/a-facsimiletelephonenumber)   |  facsimileTelephoneNumber  | Fax |  Fax  |  可建立  |  使用者、群組  |  String  |  否  | 
|   [HomePhone](https://learn.microsoft.com/en-us/windows/win32/adschema/a-homephone)   |  homePhone  | 住家電話號碼 |  HomePhone  |  可建立  |  使用者  |  String  |  否  | 
|   [資訊](https://learn.microsoft.com/en-us/windows/win32/adschema/a-info)   |  info  | 備註 |  無  |  Mutable  |  使用者、群組  |  String  |  否  | 
|   [縮寫](https://learn.microsoft.com/en-us/windows/win32/adschema/a-initials)   |  初始  | Initials |  Initials  |  Mutable  |  使用者  |  String  |  否  | 
|   [IpPhone](https://learn.microsoft.com/en-us/windows/win32/adschema/a-ipphone)   |  ipPhone  | IP 電話 |  無  |  Mutable  |  使用者  |  String  |  否  | 
|   [L](https://learn.microsoft.com/en-us/windows/win32/adschema/a-l)   |  l  | City |  City  |  可建立  |  使用者  |  String  |  是  | 
|   [管理員](https://learn.microsoft.com/en-us/windows/win32/adschema/a-manager)   |  manager  | 管理員 |  管理員  |  Mutable  |  使用者  |  String  |  否  | 
|   [Mail](https://learn.microsoft.com/en-us/windows/win32/adschema/a-mail) (信件)   |  郵件  | 電子郵件地址 |  EmailAddress  |  Mutable  |  Group  |  String  |  是  | 
|   [行動應用程式](https://learn.microsoft.com/en-us/windows/win32/adschema/a-mobile)   |  mobile  | 行動電話號碼 |  MobilePhone  |  Mutable  |  使用者  |  String  |  否  | 
|  ObjectClass  |  objectClass  | 使用者/群組 |  無  |  ReadOnly  |  Group  |  String  |  否  | 
|   [ObjectGUID](https://learn.microsoft.com/en-us/windows/win32/adschema/a-objectguid)   |  objectGUID  | 全域唯一識別符 (GUID) |  無  |  ReadOnly  |  使用者、群組  |  String  |  否  | 
|   [分頁器](https://learn.microsoft.com/en-us/windows/win32/adschema/a-pager)   |  分頁器  | 分頁器 |  無  |  Mutable  |  使用者  |  String  |  否  | 
|   [PhysicalDeliveryOfficeName](https://learn.microsoft.com/en-us/windows/win32/adschema/a-physicaldeliveryofficename)   |  physicalDeliveryOfficeName  | 辦公室 |  無  |  可建立  |  使用者  |  String  |  是  | 
|   [PostalCode](https://learn.microsoft.com/en-us/windows/win32/adschema/a-postalcode)   |  postalCode  | 郵遞區號 |  PostalCode  |  可建立  |  使用者  |  String  |  否  | 
|   [PreferredLanguage](https://learn.microsoft.com/en-us/windows/win32/adschema/a-preferredlanguage)   |  preferredLanguage  | 偏好的語言 |  無  |  Mutable  |  使用者  |  String  |  否  | 
|   [ProxyAddresses](https://learn.microsoft.com/en-us/windows/win32/adschema/a-proxyaddresses)   |  proxyAddresses  | Proxy 地址 |  無  |  ReadOnly  |  使用者、群組  |  多值字串  |  是  | 
|   [ServicePrincipalName](https://learn.microsoft.com/en-us/windows/win32/adschema/a-serviceprincipalname)   |  servicePrincipalName  | 服務委託人名稱 |  ServicePrincipalName  |  Mutable  |  使用者  |  多值字串  |  否  | 
|   [聖](https://learn.microsoft.com/en-us/windows/win32/adschema/a-st)   |  st  | 州/省 |  State  |  可建立  |  使用者  |  String  |  否  | 
|   [StreetAddress](https://learn.microsoft.com/en-us/windows/win32/adschema/a-street)   |  streetAddress  | 街道地址 |  StreetAddress  |  可建立  |  使用者  |  String  |  否  | 
|   [TelephoneNumber](https://learn.microsoft.com/en-us/windows/win32/adschema/a-telephonenumber)   |  telephoneNumber  | 電話號碼 |  OfficePhone  |  可建立  |  使用者  |  String  |  否  | 
|   [標題](https://learn.microsoft.com/en-us/windows/win32/adschema/a-title)   |  標題  | 職稱 |  Title  |  Mutable  |  使用者  |  String  |  否  | 
|   [WhenChanged](https://learn.microsoft.com/en-us/windows/win32/adschema/a-whenchanged)   |  whenChanged  | 上次更新 |  無  |  ReadOnly  |  使用者、群組  |  String  |  否  | 
|   [WWWHomePage](https://learn.microsoft.com/en-us/windows/win32/adschema/a-wwwhomepage)   |  wWWHomePage  | 首頁 URL |  wWWHomePage  |  Mutable  |  使用者、群組  |  String  |  否  | 