security-get-role-member
Retrieve users and roles that belong to a Sitecore role, with options to filter by member type or include nested roles recursively.
Instructions
Get members of a Sitecore role.
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": {
"identity": "<identity>"
},
"name": "security-get-role-member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Return the unprojected .NET object graph. Very large (100,000+ chars/item); diagnostics only. | |
| recurse | No | If set to true, gets all members recursively (including members of nested roles) | |
| identity | Yes | The identity of the role to get members from (e.g. 'sitecore\Author') | |
| roleOnly | No | If set to true, only gets role members (excluding users) | |
| userOnly | No | If set to true, only gets user members (excluding roles) |