Add Role

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

Parameter

Details

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.

3/3/2017