Audit a User's Group Memberships
A 2-step recipe with Google Workspace. We can help you get access.
Recipe · 2 steps
Audit a User's Group Memberships
with Google Workspace · Identity & Access Management
List all groups a confirmed user belongs to.
- Read the user to confirm the account exists and capture its id and primary email for the group lookup.
- List all groups the confirmed user belongs to by filtering the groups list on the user's primary email.
What you'll need to have ready
- accessToken: OAuth 2.0 bearer access token with the user.readonly and group.readonly scopes.
- userKey: Primary email, alias, or unique id of the user to audit.
For your developer
Arazzo workflow google-workspace:audit-user-groups, 2 operations: getUser → listGroups. Specs on APIs.io.