Syntax
userFullName(userNameOrKey)
Description
Returns the full name (firstname and 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 a user key, then by a user name.
If the user cannot be found then the function returns an empty string.
Example
return userFullName("jdoe");
Returns full name of a jdoe user.
See also