You are here

getPersonFullName

ScriptNode getPersonFullName(username) - Faster helper when the script just wants to build the Full name for a person. Avoids complete getProperties() retrieval for a cm:person.

Parameters

username
A string representing the user name of the user for which to return the full name.

Returns

Full name of the person or null if the user does not exist in the system.

Example

The following code snippet returns the full name for the user with the username abeecher:

model.fullname = people.getPersonFullName("abeecher");