loginResult property
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Returns the return value of the login( ) method, which is the basic
result code for the most recent login attempt on the current JSDOSession
object.
Data type:
number
Access: Read-only
Applies to: progress.data.JSDOSession 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), loginHttpStatus property