UltraLite Static C++ User's Guide
Synchronization Parameters Reference
Synchronization parameters
Reports the status of MobiLink user authentication.
Access the parameter as follows:
ul_synch_info info; // ... returncode = info.auth_status;
After synchronization, the parameter must hold one of the following values. If a custom authenticate_user synchronization script at the consolidated database returns a different value, the value is interpreted according to the rules given in authenticate_user connection event.
Constant | Value | Description |
---|---|---|
UL_AUTH_STATUS_UNKNOWN | 0 | Authorization status is unknown, possibly because the connection has not yet synchronized. |
UL_AUTH_STATUS_VALID | 1000 | User ID and password were valid at the time of synchronization. |
UL_AUTH_STATUS_VALID_BUT_EXPIRES_SOON | 2000 | User ID and password were valid at thetime of synchronization but will expire soon. |
UL_AUTH_STATUS_EXPIRED | 3000 | Authorization failed: user ID or password have expired. |
UL_AUTH_STATUS_INVALID | 4000 | Authorization failed: bad user ID or password. |
UL_AUTH_STATUS_IN_USE | 5000 | Authorization failed: user ID is already in use. |
Authenticating MobiLink Users.