get_user_groups
Retrieve all group memberships for a user from Active Directory or Azure AD, including direct and inherited groups, to manage access permissions.
Instructions
List all groups a user is a member of (direct and via memberOf attribute).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes | sAMAccountName for on-prem AD, or UPN/object ID for Azure AD | |
| source | No | Data source: "ad" for on-prem LDAP, "azure" for Azure AD/Entra ID (available: ad, azure) | ad |