Syntax
userFullName(userNameOrKey)
...
Excerpt |
---|
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
Note |
---|
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
...
Code Block |
---|
return userFullName("jdoe"); |
Returns full name of a jdoe user "jdoe".
See also
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|