Forum Discussion
GianlucaUlivi
Making Connections
2 months agoHi,
I do believe that the AccountSnapshot query should report the info you need under the "users" section.
I was looking into this a few weeks ago but have scrapped the idea in the meantime (as the result I was looking for was not needed anymore) so it may not be 100% accurate or correct.
The query I was using was this:
query AccountSnapshot($accountID: ID!) {
accountSnapshot(accountID: $accountID) {
users {
name
connectivityStatus
connectedInOffice
lastConnected
info {
email
authMethod
status
}
id
}
}
}And this is and example of the result I got:
{
"data": {
"accountSnapshot": {
"users": [
{
"name": "Name Surname",
"connectivityStatus": "connected",
"connectedInOffice": false,
"lastConnected": "2025-09-23T09:01:08Z",
"info": {
"email": "name.surname@example.com",
"authMethod": "SSO",
"status": "active"
},
"id": "1000001"
},
{
"name": "Name Surname",
"connectivityStatus": "connected",
"connectedInOffice": false,
"lastConnected": "2025-09-23T09:04:42Z",
"info": {
"email": "name.surname@example.com",
"authMethod": "SSO",
"status": "active"
},
"id": "1000002"
}
]
}
}
}I think it have the information you need, plus you can add more details in the query if needed.
Hope this helps :)
Best regards,
Gianluca
- ddaniel29 days ago
Making Connections
thank you.