Scoped GlideSystem - getUserName()

Gets the user name, or user id, of the current user.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
String The user name of the current user.
gs.info(gs.getUserName());

Output: