GlideUser - userName

This property is the current user's username, for example gsmith02. It is not the user's name, for example George Smith.

Table 1. Field
Name Type Description
userName String The current user's username.
var userName = g_user.userName;
   alert('Current user = ' + userName);