JSDO properties, methods, and events reference : loginResult property
  

loginResult property

Returns the return value of the login( ) method, which is the basic result code for the most recent login attempt on the current JSDOSession or Session object.
Data type: number
Access: Read-only
Applies to: progress.data.JSDOSession class, progress.data.Session class
Possible loginResult values include the following numeric constants:
*progress.data.Session.LOGIN_SUCCESS — JSDO login session started successfully.
*progress.data.Session.LOGIN_AUTHENTICATION_FAILURE — JSDO login failed because of invalid user credentials.
*progress.data.Session.LOGIN_GENERAL_FAILURE — JSDO login failed because of a non-authentication failure.
For a more specific status code returned in the HTTP response, you can check the value of the loginHttpStatus property.
The value of this property is null prior to the first login attempt and after a successful logout (until the next login attempt).

See also:

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