FRAMES | NO FRAMES | Description | Parameters | Example |
URL: | http://server:port/arcgis/admin/security/users/assignRoles |
---|---|
HTTP Method: | POST |
Parent Resource: | Users |
Required Privileges: | Administrator |
You must use this operation to assign roles to a user account when working with an user and role store
that supports reads and writes.
By assigning a role to a user, the user account automatically inherits all the permissions
that have been assigned to the role.
Parameter | Description |
---|---|
username | The name of the user. |
roles | A comma-separated list of role names. Each of role names must exist in the role store. |
f | The response format. The default response format is html. Values: html | json |
http://server:port/arcgis/admin/security/users/assignRoles username=jwhite roles=editors,planners