# On_login
Description
The notification received after authorization on the server
EventHandler<string> On_login
Response example
{
"event": "login",
"result": 0,
"peerId": "user1@some.server",
"peerDn": "user1",
"method": "event"
}
Response Parameters
| Name | Description |
|---|---|
| peerId | TrueConf ID unique user identifier |
| peerDn | User display name |
| result | Login result. It can be as follows: • 0 - Successful login • 1 - This user is already logged in • 2 - The user with this login was not found • 3 - The user with this login/password was not found • 4 - Login rejected • 5 - The number of online users on the server has reached the maximum limit • 6 - Account not activated • 7 - Busy server or other server issues • 8 - Cannot log in with this application type • 9 - The user is waiting for the email with a link or registration confirmation code • 10 - The user account was locked • 11 - The email is in the blacklist • 65213 - The password has expired |
See also