JSDO properties, methods, and events reference : userName property
  

userName property

Returns the username passed as a parameter to the most recent call to the login( ) method on the current JSDOSession or Session object.
Data type: string
Access: Read-only
Applies to: progress.data.JSDOSession class, progress.data.Session class
This value is returned, whether or not the most recent call to login( ) succeeded.

See also:

getSession( ) stand-alone function, login( ) method (JSDOSession class), login( ) method (Session class)