GlideSystem - getUser()

Returns a reference to the user object for the current user.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
GlideUser A reference to a user object for the current user

Scoped equivalent

To use the getUser() method in a scoped application, use the corresponding scoped method: Scoped GlideSystem - getUser().

var myUserObject = gs.getUser()