Skip to end of banner
Go to start of banner

userFullName

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Availability

This routine is available starting with katl-commons 1.0.

Syntax

userFullName(user)

Description

Returns the full name (firstname, lastname) of the user

Parameters

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

  • No labels