Get Privilege For User

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.

Request Parameters

Parameter

Details

username

Description: The name of the user for whom the privilege needs to be computed.

f

Description: The response format. The default response format is html.

Values: html | json

Response Format

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

Example Usage

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

10/6/2017