Get Privilege For User

  • URL:http://server:port/arcgis/admin/security/users/getPrivilege (POST only)
  • Required Capability:Publisher or Administrator
  • Version Introduced:10.1

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

ParameterDetails
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