Get User Roles
get_user_rolesList the roles assigned to a Secret Server user by user ID, with paging controls to retrieve additional role assignments.
Instructions
List the roles assigned to a Secret Server user.
Calls GET /api/v1/users/{id}/roles. Paged: take (default 50, capped at 500) and skip; total and
hasNext in the response show whether more remain.
Secret Server REST API reference:
https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm
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": {
"user_id": "<user_id>"
},
"name": "get_user_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | ||
| take | No | ||
| user_id | Yes |