Skip To Content
ArcGIS Developers
Dashboard

Get Roles By Privilege

Description

This operation returns the roles associated with a privilege.

Request parameters

ParameterDetails
privilege

The name of the privilege.

Values: ADMINISTER | PUBLISH

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

Below is a sample POST request for getRolesByPrivilege:

POST /webadaptor/admin/security/roles/getRolesByPrivilege HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

privilege=ADMINISTER&f=json

JSON Response example

{
  "roles": [
    "editors",
    "quality_analysts"
  ]
}