userKeyToDisplayName
Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !
Availability
- This routine is available starting with SIL Engine™ 4.8.0.3
- This routine is available for Jira server (8.0 and up) and cloud deployment options.
- The routine is an alias for accountIdToDisplayName.
Syntax
Server:
userKeyToDisplayName(userKey)
Cloud:
userKeyToDisplayName(accountId)
Description
Returns the display name for the provided user key.Parameters
Server:
Parameter name | Type | Required | Description |
---|---|---|---|
user key | String | Yes | User key. |
Cloud:
Parameter name | Type | Required | Description |
---|---|---|---|
accountId | String | Yes | The account Id |
Return type
string
Returns the display name
Example
string displayName = userKeyToUsername("someUserKey");
See also