

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

 This topic describes how to work with attributes in the [AWS Directory Service Data API Reference](https://docs.aws.amazon.com//directoryservicedata/latest/DirectoryServiceDataAPIReference/Welcome.html). 

## Request Attributes
<a name="ad_data-attributes-request"></a>

 The following attributes must be defined in the request body parameters. For an example of how to define these attributes, see [CreateGroup](https://docs.aws.amazon.com/directoryservicedata/latest/DirectoryServiceDataAPIReference/API_CreateGroup.html) in the *AWS Directory Service Data API Reference*. 


| Directory Service Data attribute name | LDAP display name | AWS Management Console | PowerShell alias | Access type | Object type | Attribute value | Searchable | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|   [DistinguishedName](https://learn.microsoft.com/en-us/windows/win32/adschema/a-distinguishedname)   |  distinguishedName  | Distinguished name |  None  |  ReadOnly  |  User, Group  |  String  |  No  | 
|   [EmailAddress](https://learn.microsoft.com/en-us/windows/win32/adschema/a-mail)   |  mail  | Email address |  EmailAddress  |  Creatable  |  User  |  String  |  Yes  | 
|   Enabled   |  None  | Enabled |  Enabled  |  Mutable  |  User  |  Boolean  |  No  | 
|   [GivenName](https://learn.microsoft.com/en-us/windows/win32/adschema/a-givenname)   |  givenName  | First Name |  GivenName  |  Creatable  |  User  |  String  |  Yes  | 
|   [GroupScope](https://learn.microsoft.com/en-us/windows/win32/adschema/a-grouptype)   |  groupScope  | Group scope |  None  |  Creatable  |  Group  |  Enum  |  No  | 
|   [GroupType](https://learn.microsoft.com/en-us/windows/win32/adschema/a-grouptype)   |  groupType  | Group type |  None  |  Creatable  |  Group  |  Enum  |  No  | 
|   [SamAccountName](https://learn.microsoft.com/en-us/windows/win32/adschema/a-samaccountname)   |  sAMAccountName  | User logon name |  sAMAccountName  |  Creatable  |  User, Group  |  String  |  Yes  | 
|   [SID](https://learn.microsoft.com/en-us/windows/win32/adschema/a-objectsid)   |  objectSid  | User / Group security identifier (SID) |  SID  |  ReadOnly  |  User, Group  |  String  |  No  | 
|   [Surname](https://learn.microsoft.com/en-us/windows/win32/adschema/a-sn)   |  sn  | Last name |  Surname  |  Creatable  |  User  |  String  |  Yes  | 
|   [UserPrincipalName](https://learn.microsoft.com/en-us/windows/win32/adschema/a-userprincipalname)   |  userPrincipalName  | User principal name |  UserPrincipalName  |  ReadOnly  |  User  |  String  |  No  | 

## Other Attributes
<a name="ad_data-attributes-other"></a>

 The following attributes must be defined in `OtherAttributes` and don't map to any request body parameters. When you define other attributes in your requests, you must specify the attribute name, data type, and the value for each attribute. For an example of how to define these attributes, see [CreateUser](https://docs.aws.amazon.com/directoryservicedata/latest/DirectoryServiceDataAPIReference/API_CreateUser.html) in the *AWS Directory Service Data API Reference*. 

**Note**  
 The names of these attributes are case insensitive *when provided as inputs* and the equivalent of the LDAP display name. 


| Directory Service Data attribute name | LDAP display name | AWS Management Console | PowerShell alias | Access type | Object type | Attribute value | Searchable | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|   [Assistant](https://learn.microsoft.com/en-us/windows/win32/adschema/a-assistant)   |  assistant  | Assistant |  None  |  ReadOnly  |  User  |  String  |  No  | 
|   [Cn](https://learn.microsoft.com/en-us/windows/win32/adschema/a-cn)   |  cn  | Common Name |  None  |  ReadOnly  |  User, Group  |  String  |  No  | 
|   [Co](https://learn.microsoft.com/en-us/windows/win32/adschema/a-co)   |  co  | Country/region |  Country  |  Mutable  |  User  |  String  |  No  | 
|   [Company](https://learn.microsoft.com/en-us/windows/win32/adschema/a-company)   |  company  | Company |  Company  |  Creatable  |  User  |  String  |  No  | 
|   [Department](https://learn.microsoft.com/en-us/windows/win32/adschema/a-department)   |  department  | Department |  Department  |  Creatable  |  User  |  String  |  No  | 
|   [Description](https://learn.microsoft.com/en-us/windows/win32/adschema/a-description)   |  description  | Description |  Description  |  Creatable  |  User, Group  |  String  |  No  | 
|   [DirectReports](https://learn.microsoft.com/en-us/windows/win32/adschema/a-directreports)   |  directReports  | Direct reports |  None  |  ReadOnly  |  User  |  String set  |  No  | 
|   [DisplayName](https://learn.microsoft.com/en-us/windows/win32/adschema/a-displayname)   |  displayName  | Display name |  DisplayName  |  Creatable  |  User, Group  |  String  |  Yes  | 
|   [FacsimileTelephoneNumber](https://learn.microsoft.com/en-us/windows/win32/adschema/a-facsimiletelephonenumber)   |  facsimileTelephoneNumber  | Fax |  Fax  |  Creatable  |  User, Group  |  String  |  No  | 
|   [HomePhone](https://learn.microsoft.com/en-us/windows/win32/adschema/a-homephone)   |  homePhone  | Home phone number |  HomePhone  |  Creatable  |  User  |  String  |  No  | 
|   [Info](https://learn.microsoft.com/en-us/windows/win32/adschema/a-info)   |  info  | Notes |  None  |  Mutable  |  User, Group  |  String  |  No  | 
|   [Initials](https://learn.microsoft.com/en-us/windows/win32/adschema/a-initials)   |  initials  | Initials |  Initials  |  Mutable  |  User  |  String  |  No  | 
|   [IpPhone](https://learn.microsoft.com/en-us/windows/win32/adschema/a-ipphone)   |  ipPhone  | IP Phone |  None  |  Mutable  |  User  |  String  |  No  | 
|   [L](https://learn.microsoft.com/en-us/windows/win32/adschema/a-l)   |  l  | City |  City  |  Creatable  |  User  |  String  |  Yes  | 
|   [Manager](https://learn.microsoft.com/en-us/windows/win32/adschema/a-manager)   |  manager  | Manager |  Manager  |  Mutable  |  User  |  String  |  No  | 
|   [Mail](https://learn.microsoft.com/en-us/windows/win32/adschema/a-mail)   |  mail  | Email address |  EmailAddress  |  Mutable  |  Group  |  String  |  Yes  | 
|   [Mobile](https://learn.microsoft.com/en-us/windows/win32/adschema/a-mobile)   |  mobile  | Mobile phone number |  MobilePhone  |  Mutable  |  User  |  String  |  No  | 
|  ObjectClass  |  objectClass  | User / Group |  None  |  ReadOnly  |  Group  |  String  |  No  | 
|   [ObjectGUID](https://learn.microsoft.com/en-us/windows/win32/adschema/a-objectguid)   |  objectGUID  | Global unique identifier (GUID) |  None  |  ReadOnly  |  User, Group  |  String  |  No  | 
|   [Pager](https://learn.microsoft.com/en-us/windows/win32/adschema/a-pager)   |  pager  | Pager |  None  |  Mutable  |  User  |  String  |  No  | 
|   [PhysicalDeliveryOfficeName](https://learn.microsoft.com/en-us/windows/win32/adschema/a-physicaldeliveryofficename)   |  physicalDeliveryOfficeName  | Office |  None  |  Creatable  |  User  |  String  |  Yes  | 
|   [PostalCode](https://learn.microsoft.com/en-us/windows/win32/adschema/a-postalcode)   |  postalCode  | Zip/Postal code |  PostalCode  |  Creatable  |  User  |  String  |  No  | 
|   [PreferredLanguage](https://learn.microsoft.com/en-us/windows/win32/adschema/a-preferredlanguage)   |  preferredLanguage  | Preferred language |  None  |  Mutable  |  User  |  String  |  No  | 
|   [ProxyAddresses](https://learn.microsoft.com/en-us/windows/win32/adschema/a-proxyaddresses)   |  proxyAddresses  | Proxy address |  None  |  ReadOnly  |  User, Group  |  Multi-valued string  |  Yes  | 
|   [ServicePrincipalName](https://learn.microsoft.com/en-us/windows/win32/adschema/a-serviceprincipalname)   |  servicePrincipalName  | Service principal name |  ServicePrincipalName  |  Mutable  |  User  |  Multi-valued string  |  No  | 
|   [St](https://learn.microsoft.com/en-us/windows/win32/adschema/a-st)   |  st  | State/Province |  State  |  Creatable  |  User  |  String  |  No  | 
|   [StreetAddress](https://learn.microsoft.com/en-us/windows/win32/adschema/a-street)   |  streetAddress  | Street address |  StreetAddress  |  Creatable  |  User  |  String  |  No  | 
|   [TelephoneNumber](https://learn.microsoft.com/en-us/windows/win32/adschema/a-telephonenumber)   |  telephoneNumber  | Telephone number |  OfficePhone  |  Creatable  |  User  |  String  |  No  | 
|   [Title](https://learn.microsoft.com/en-us/windows/win32/adschema/a-title)   |  title  | Job title |  Title  |  Mutable  |  User  |  String  |  No  | 
|   [WhenChanged](https://learn.microsoft.com/en-us/windows/win32/adschema/a-whenchanged)   |  whenChanged  | Last updated |  None  |  ReadOnly  |  User, Group  |  String  |  No  | 
|   [WWWHomePage](https://learn.microsoft.com/en-us/windows/win32/adschema/a-wwwhomepage)   |  wWWHomePage  | Home page URL |  wWWHomePage  |  Mutable  |  User, Group  |  String  |  No  | 