Get Users Within Role

Description

You can use this operation to conveniently see all the user accounts to whom this role has been assigned.

Parameters

Parameter

Description

rolename

The name of the role.

filter

An optional filter to be applied to the resultant user set.

maxCount

The maximum number of results to return for this query.

f

The response format. The default response format is html.

Values: html | json

Response Format

{
		"users": [ "<user1>", "<user2>", ...],
		"hasMore": <true|false>
	}

Example

To get the first 20 users whose names begin with 'a' that are in the role of 'editors':

http://server:port/arcgis/admin/security/roles/getUsersWithinRole
	rolename=editors,
	filter=a
	maxCount=20

7/5/2017