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

Description

Returns the privilege associated with a user. The API tests all the rules to which the user belongs and returns the highest possible privilege.

Parameters

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

Response Format

	{
		"privilege": "<ADMINISTER|PUBLISH|ACCESS>"		
	}
			

Example

	http://server:port/arcgis/admin/security/users/getPrivilege
	username=njones