Group Users
- URL:http://<group-url>/users
Description
Lists the users, owner, and administrators of a given group. Only available to members or administrators of the group.
Request Parameters
Parameter |
Details |
---|---|
[Common Parameters] |
For a complete listing, see Common parameters. |
Response Properties
Property |
Details |
---|---|
owner |
The username of the owner of the group. |
admins | A JSON array containing the usernames of the administrators of the group. |
users | A JSON array containing the usernames of the members of the group. |
Example Usage
URL for Group Users
http://www.arcgis.com/sharing/rest/community/groups/2ecb37a8c8fb4051af9c086c25503bb0/users
JSON Response Syntax
{
"owner": "<group owner username>",
"admins": [
"<admin username1>",
"<admin username2"
],
"users": [
"<username1>",
"<username2>"
]
}
JSON Response Example
{
"owner": "jsmith",
"admins": [
"jsmith",
"pwright"
],
"users": [
"mjohnson",
"swilson"
]
}