Method GetLogonResult
GetLogonResult(String)
Get logon result.
Declaration
LogonResultContract GetLogonResult(string connectionId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
Returns
Type | Description |
---|---|
LogonResultContract | Logon result. |
Remarks
This method can be used to get the logon result.
Examples
POST https://YourServerName/InfoShare/Json/Authentication/GetLogonResult
Example for getting a logon result.{
"connectionId": "6bc655a4-c079-4535-a733-f259e3232a3a"
}
Response:
{
"GetLogonResultResult": {
"AbsenceInfo": {
"AbsenceDateEnd": "",
"AbsenceDateStart": "",
"Absent": false,
"DeputyRepresentativeUserId": null
},
"ConnectionId": "63131ea4-bb94-4343-9baf-ea785674283d",
"ConnectionTimeoutSeconds": 600,
"IsApplicationLicence": false,
"IsConcurrentLicence": false,
"IsNamedLicence": false,
"IsReadOnlyLicence": false,
"IsVerificationCodeNeeded": false,
"OwnUserId": "0100a003-38a7-11d8-a902-0050bf427e8f",
"PossibleTwoWayAuthenticationType": null,
"TwoWayAuthenticationTargetMail": null
}
}
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |