security-get-role
Retrieve Sitecore roles by exact identity or wildcard filter to inspect or audit user permissions. Provide either a role name or pattern, not both.
Instructions
Get Sitecore roles, by exact identity or by wildcard filter. Supply exactly one of identity or filter.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "security-get-role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Return the unprojected .NET object graph. Very large (100,000+ chars/item); diagnostics only. | |
| filter | No | Wildcard pattern, e.g. 'sitecore\*' or '*Author*'. Supply this or identity. | |
| identity | No | Exact role name, e.g. 'sitecore\Author'. Supply this or filter. |