grouper_get_subject_groups
Retrieve all group memberships for a specific subject/user, including group name, description, type, and membership type, with optional filters for enabled status and membership category.
Instructions
Get all group memberships for a specific subject/user. Returns a compact list with each group's name, description, type (if not a standard group), and membership type (immediate/effective). Use grouper_get_group_by_exact_name to get full details on a specific group. Returns "No group memberships found" if the subject is not a member of any groups.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"subjectId": "<subjectId>"
},
"name": "grouper_get_subject_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | Filter for enabled groups: "T" for enabled only, "F" for disabled only, or omit for all (default: all) | |
| subjectId | Yes | The subject ID of the user to retrieve group memberships for | |
| memberFilter | No | Filter for membership type: "All", "Effective", "Immediate", "Composite", "NonImmediate" (default: "All") | |
| subjectSourceId | No | Optional subject source ID to limit search scope | |
| subjectIdentifier | No | Optional subject identifier (alternative to subjectId) |