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 3 Next »

Syntax

userFullName(userNameOrKey)

Description

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

Parameters

Parameter name

Type

Required

Description

userNameOrKey

stringYesUser 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

  • No labels