Scoped GlideUser - getDisplayName()

Gets the display name of the current user.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
String The user's display name.
var currentUser = gs.getUser(); 
gs.info(currentUser.getDisplayName());

Output: