Method GetLastConnectionDate
GetLastConnectionDate(String)
Get last connection logon and logoff date
Declaration
LastConnectionDateContract GetLastConnectionDate(string tenantName)
Parameters
Type | Name | Description |
---|---|---|
System.String | tenantName | Optional: Tenant name to logon to. See also GetAllTenantNames() |
Returns
Type | Description |
---|---|
LastConnectionDateContract | Last connection logon and logoff date |
Examples
POST https://YourServerName/InfoShare/Json/Authentication/GetLastConnectionDate
Example for a GetLastConnectionDate for a tenant name.{
"tenantName": "DCIS_KENDOX"
}
Response:
{
"GetLastConnectionDateResult":{
"LastLogoffDate":"2019-09-18T12:51:04",
"LastLogonDate":"2019-09-18T12:50:10" }
}
Exceptions
Type | Condition |
---|---|
ServiceException | Tenant not found {tenantName} (10038) |