security-get-role-member
Retrieve users and roles assigned to a Sitecore role, with options to recurse nested roles or filter to users or roles only.
Instructions
Get members of a Sitecore role.
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) |