Syntax
userFullName(userNameOrKey)
Description
Returns the full name (firstname, lastname) of the specified user.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
| string | Yes | User name or key of a user to retrieve full name for. |
Return type
string
Returns the full name of a user associated with the specified user key or user name.
Notes
The look-up is first made by user key, then by user name.
If the user cannot be found then the function returns an empty string.
Example
Example 1
return userFullName("jdoe");
Returns full name of user "jdoe".
See also