Availability
This routine is available starting with katl-commons 1.0.
Syntax
userFullName(user)
Description
Returns the full name (firstname, lastname) of the userParameters
Parameter name | Type | Required | Description |
---|---|---|---|
user | string | Yes | The username or userkey of selected user |
Return type
string
Returns the full name (first name and last name) of the user associated with the specified username or userkey.
Example
Example 1
userFullName("Admin");
Returns the full name (first name and last name) of the user Admin.
Example 2
userFullName(currentUser());
Returns the full name (first name and last name) of the current user.
Notes
The look-up is first made after the userkey, then after the username.
See also