| FRAMES | NO FRAMES | Description | Parameters | Response | Example |
| URL: | http://server:port/arcgis/admin/security/roles/search |
|---|---|
| HTTP Method: | POST |
| Parent Resource: | Roles |
| Required Privileges: | Publisher or Administrator |
You can use this operation to search a specific role or a group of roles from the role store. The size of the search results can be controlled with the maxCount parameter.
| Parameter | Description |
|---|---|
| filter | A filter string to search the roles |
| maxCount | The maximum size of the result size |
| f | The response format. The default response format is html. Values: html | json |
To get the roles that begin with the name 'editors':
http://server:port/arcgis/admin/security/roles/search filter=editors