FRAMES | NO FRAMES | Description | Parameters | Response | Example |
URL: | http://server:port/arcgis/admin/security/roles/getPrivilege |
---|---|
HTTP Method: | POST |
Parent Resource: | Roles |
Required Privileges: | Publisher or Administrator |
Returns the privilege associated with a role.
Parameter | Description |
---|---|
rolename | The name of the role. |
f | The response format. The default response format is html. Values: html | json |
{ "privilege": "<ADMINISTER|PUBLISH|ACCESS>" }
http://server:port/arcgis/admin/security/roles/getPrivilege rolename=publishers