User name
This function returns the display name for a given user name.
userDisplayName(userName) #Output: Text
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns the display name of the current user, e.g.: Bob Smith |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text |
Text containing a valid user name. |
Output
This function returns a text
User list
Variant for multiple users.
userDisplayName(userList) #Output: Text list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns the display names of all watchers. To achieve this, the following functions are used: |
|
Bash
|
This example returns the display names of all two users, e.g.: Bob Smith, Dave Jones To achieve this, the following functions are used: |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text list |
Any valid text list. |
Output
This function returns a text list
If you want to return the user name instead of a display name, check out: fullNameToUser()