FRAMES | NO FRAMES | Description | Parameters | Response | Example |
URL: | http://server:port/arcgis/admin/security/users/getPrivilege |
---|---|
HTTP Method: | POST |
Parent Resource: | Users |
Required Privileges: | Publisher or Administrator |
Returns the privilege associated with a user. The API tests all the rules to which the user belongs and returns the highest possible privilege.
Parameter | Description |
---|---|
username | The name of the user for whom the privilege needs to be computed. |
f | The response format. The default response format is html. Values: html | json |
{ "privilege": "<ADMINISTER|PUBLISH|ACCESS>" }
http://server:port/arcgis/admin/security/users/getPrivilege username=njones