# login
Description
Authenticate on the server.
The result of the command execution will arrive in the notifications On_login
When authorizing in a directory service (e.g., MS AD), it is mandatory to set the parameter encryptPassword: false. This is necessary if LDAP mode is used on the TrueConf Server where the terminal is authorized.
void login(string callId, string password)
Parameters
| Name | Description |
|---|---|
| callId | TrueConf ID, unique user identifier. |
| password | Password |
Response example
{
"method" : "login",
"requestId" : "1",
"result" : true
}
Response Parameters
| Name | Description |
|---|---|
| requestId | A unique request identifier |
| result | A flag indicating whether the request was successful |
See also