# getLogin

Description: Obtain information about a login and display name.

Request example:

{
    "method" : "getLogin",
    "requestId" : "1"
}

Response example:

{
    "isLoggedIn" : true,
    "peerId" : "user1@some.server",
    "peerDn" : "user1",
    "method" : "getLogin",
    "requestId" : "1",
    "result" : true
}

Parameter description:

  • peerId — Unique user identifier (TrueConf ID). The field is unavailable if a user has not logged in.

  • peerDn — Display name. The field is unavailable if a user has not logged in.

  • isLoggedIn — Field showing information about whether a user has logged in.

  • requestId - a unique request identifier. You can learn more about it here.

See also: