- URL:https://server:port/arcgis/admin/security/roles/getRolesForUser(POST only)
- Required Capability:Publisher or Administrator
- Version Introduced:10.1
This operation returns a list of role names that have been assigned to a particular user account.
This operation is used by the authorization module in ArcGIS Server to determine the collective privileges of a requesting user account.
The name of the user for whom to return the roles.
An optional filter to be applied to the resultant role set.
The maximum number of results to return for this query.
The response format. The default response format is html.
Values: html | json
"roles": [ "<role1>", "<role2>", ...],
To get all the roles that have been assigned to user 'jwhite':