Supported attributes reference
The table provided lists the attributes that can be mapped for user provisioning to Slack.
Attribute | Description |
---|---|
userName |
The user’s unique identifier in Slack. A user’s userName cannot be updated once it is created. This attribute is required. |
primaryEmail |
The user’s email address. This attribute is required. |
givenName |
The given name of the user, or first name in most Western languages. For example, "Barbara" given the full name "Ms. Barbara Jane Jensen, III". |
familyName |
The family name of the user, or last name in most Western languages. For example, "Jensen" given the full name "Ms. Barbara Jane Jensen, III". |
honorificPrefix |
The honorific prefix or prefixes of the user, or title in most Western languages. For example, "Ms." given the full name "Ms. Barbara Jane Jensen, III". |
displayName |
The name of the user, suitable for display to end-users. |
title |
The user’s title, such as "Vice President". |
preferredLanguage |
Indicates the user’s preferred written or spoken languages and is generally used for selecting a localized user interface. |
userType |
Used to identify the relationship between the organization and the user. Typical values used might be "Contractor", "Employee", "Intern", "Temp", "External", and "Unknown", but any value can be used. |
locale |
Used to indicate the user’s default location for purposes of localizing such items as currency, date time format, or numerical representations. |
profileUrl |
A URI that is a uniform resource locator that points to a location representing the user’s online profile, such as a web page. |
profilePhotoUrl |
A URI that is a uniform resource locator that points to the user’s profile photo. The resource MUST be a file (for example, a GIF, JPEG, or PNG image file) rather than a web page containing an image. |
timezone |
The user’s time zone, in IANA Time Zone database format, such as "America/Los_Angeles". |
roles |
A role for the user that represents who the user is, such as "Student", "Faculty". This attribute can only accept one value. |
primaryPhone |
The primary phone number for the user, such as "+1-201-555-0123". |
mobilePhone |
The mobile phone number for the user, such as "+1-201-555-0123". |
streetAddress |
The work street address for the user, which may include house number, street name, P.O. box, and multi-line extended street address information. |
locality |
The work locality or locality component for the user’s mailing address. |
region |
The region or state component for the user’s mailing address. |
postalCode |
The work ZIP or postal code component for the user’s mailing address. |
country |
The work country component for the user’s mailing address. |
employeeNumber |
A string identifier, typically numeric or alphanumeric, assigned to a person, often based on order of hire or association with an organization. |
costCenter |
The cost center for the user. |
organization |
The organization for the user. |
division |
The division for the user. |
department |
The department for the user. |