skip to main content
OpenEdge Mobile 11.5.1 Updates : Session management updates : JSDOSession properties : userName property
 
userName property
Returns the user ID 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.
Note: In atypical cases, this property might not specify the name of the user logged in for the current session. The logged-in user can be different from this property setting if the authentication was done by the browser or hybrid native wrapper prior to the login( ) method being called, or if the login( ) method was passed incorrect user credentials and the browser or native wrapper took over and completed the user authentication.

See also:

login( ) method (JSDOSession class), login( ) method (Session class)