Get User Roles
get_user_rolesRetrieve roles assigned to a user, with optional filtering by project or environment.
Instructions
Get roles assigned to a specific user, optionally scoped to a project or environment.
Args:
userID (string, required): The user ID
projectID (string, optional): Scope to a specific project
environmentID (string, optional): Scope to a specific environment
Returns: Role assignments for the user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userID | Yes | The user ID | |
| projectID | No | Optional project scope filter | |
| environmentID | No | Optional environment scope filter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| message | No |