This URL allows you to get the list of login data of a specific user logged in a domain.
Request
GET https://<TLC_IP>:<port>/rest/TLC/v1/bindingstore/{domain}?username={username}
Request
For the GetLoginForUser API, no input is required in the request body.
Response
When the response is successful, you get Status code 200.
The following data fields are displayed in a successful response:
Data fields | Description | Data type |
|---|---|---|
| specifies the IP address of the user | String |
| specifies the username | String |
| specifies the name of the computer. | String |
| specifies the login time of the user in milliseconds. | Numeric |
| specifies the logout time of the user in milliseconds. | Numeric |
Note
Some fields may have empty values as it is based on the record.
When the requested data is not found, the following additional fields are displayed:
Data fields | Description | Data type |
|---|---|---|
| For failure requests, the status code for the type of failure is specified. | Numeric |
| When requested data is not found, it specifies the API error code signifying the type of request failure. | Numeric |
| Description of the error (optional). | String |
Note
Status code 404 specifies that the data is not found in the TLC server.
Example
{
"data":
[
{"ipaddress":"192.168.169.1", "username":"user1", "computername":"computer1", "logintime": "1405593089629",
"logouttime ": "2005593089629"},
{"ipaddress":"192.168.169.2", "username":"user1", "computername":"computer2", "logintime": "1405594194876",
"logouttime ": "2005594194876"}
]
}