Hello Dirk,
I have not found an API call to get inactivity with the protocol but I have found one that may be useful to you.
You can make the API call to the domain user list.
Here is an example call;
Request URL: http://ascholz.local:9998/api/v1/settings/domain/account-list-search
Request Method: POST
Payload: {"skip":0,"take":"200","search":null,"sortField":"userName","sortDescending":false,"searchFlags":["users"]}
{
"success": true,
"message": "",
"totalCount": 9,
"results":
[
{
"userName": "2B",
"displayName": "2B@ascholz.local",
"status": 1,
"accountType": 2,
"authType": 1,
"isEasEnabled": false,
"isMapiEwsEnabled": false,
"lastLoginTime": "2021-11-02T15:20:38.0550471Z",
"lastLoginProtocol": "EAS",
"isWebmailEnabled": true,
"lastLogin": "2021-11-02T15:20:38.0550471Z",
"easLastLogin": "2021-11-02T21:56:08.8045063Z",
"mapiLastLogin": null,
"ewsLastLogin": "2020-05-04T15:18:24.6483887Z",
"isPopEnabled": true,
"popLastLogin": "2021-06-03T16:41:50.6483238Z",
"isImapEnabled": true,
"imapLastLogin": "2021-08-03T17:15:46.9137766Z",
"bytesUsed": 154939,
"bytesAllowed": 262144000,
"bytesUsedPercent": 0.0591045379638672,
"acceptedNewestPolicy": true,
"description": null
},
]
}
Here it is scripted out ( for a single domain ).