Billy
3 months agoComet
API Request to get all SDP users
Hi everyone,
I'm trying to get all users within my Cato platform. Like in Access > Users when you select SDP Users Activity.
I cannot find any direct way to do it, maybe i'm missing something ?
I tried with AccountSnapshot but here you can only find connected users, it is also stated that if I want users that are offline I need to specify the ID, is it the only way to do it ?
Thanks,
Billy
Hi Billy,
Take a look at the entityLookup. I was able to view our SDP users with it.query: "query GetVpnUsers($accountID: ID!, $limit: Int = 25, $from: Int = 0) { entityLookup( accountID: $accountID, type: vpnUser, limit: $limit, from: $from ) { items { entity { id name type } description } total } }" variables: "{ "accountID": "12345" }"