March 2017
Beginner
358 pages
9h 51m
English
A fair amount of the user's profile details can be gleaned from the GlideUser (g_user) API, as they are cached when the page is loaded.
There is a method to access the user's full name: getFullName(). This method accepts no arguments, but returns a string containing the current user's full name.
The user's first and last name are available via properties. Properties can be access directly without calling a method. For example:
var userFirstName = g_user.firstName;
Other properties directly accessible via the g_user object include the user's last name (lastName), sys_id (userID), and the user's username (userName). Any of these properties can be accessed directly from the g_user object.
Read now
Unlock full access