Add Role

  • URL:http://server:port/arcgis/admin/security/roles/add (POST only)
  • Required Capability:Administrator
  • Version Introduced:10.1

Description

Adds a role to the role store. This operation is available only when the role store is a read-write store such as the default ArcGIS Server store.

If the name of the role exists in the role store, an error will be returned.

Request Parameters

ParameterDetails
rolename

Description: The name of the role. The name must be unique in the role store.

description

Description: An optional field to add comments or a description for the role.

f

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

Values: html | json

The above parameters can also be provided in JSON format and submitted as a value to the role parameter.

role={
    "rolename": "<rolename>",
    "description": "<description>"
}

Example Usage

http://server:port/arcgis/admin/security/roles/add
	rolename=editors
	description=Group of users that can edit maps.