Skip to content
This repository was archived by the owner on Dec 22, 2025. It is now read-only.

Login Error Codes

TrueConf edited this page Mar 27, 2018 · 5 revisions

enum VS_UserLoggedin_Result

0 — USER_LOGGEDIN_OK, // 0 - login successful, otherwise error code

1 — USER_ALREADY_LOGGEDIN, // answer on CheckUserLoginStatus_Method, if current CID is already authorized at TransportRouter

2 — NO_USER_LOGGEDIN, // answer on CheckUserLoginStatus_Method, if current CID is not authorized at TransportRouter - can try to login

3 — ACCESS_DENIED, // incorrect password or other problems with DB

4 — SILENT_REJECT_LOGIN, // client shouldn't show error to user (example: incorrect AutoLoginKey)

5 — LICENSE_USER_LIMIT, // license restriction of online users reached, server cannot login you

6 — USER_DISABLED, // user exist, but he is disabled to use this server

7 — RETRY_LOGIN, // client should retry login after timeout (value in container or default), due to server busy or other server problems

8 — INVALID_CLIENT_TYPE, // user cannot login using this client app (should use other type of client app)

9 — SESSION_WAIT, // user waits email with link or code to confirm registration

USER_PASSWORD_EXPIRED = 65213 // user password expired