FRAMES | NO FRAMES | Description | Parameters | Examples | Response |
URL | http://<group-url>/addUsers |
---|---|
Parent Resource | Group |
Parameter | Details |
---|---|
f | Description: The response format. The default response format is html. Values: html | json |
user | Required Description: The username of the person who makes the add user to a group request. The person must have "AdministratorAccess" privilege to add users any group. |
users | Required Description: A JSON object containing the username of users to be added to the group. At least one user needs to be specified to add users in the group. Syntax: users=user1,user2,user3 |
Example 1: URL for adding user with username "cjones" to group Technicians with id "1". The person who makes the request is "admin0000".
http://sampleserver/arcgis/rest/services/Workflow/WMServer/community/groups/1/addUsers?user=admin0000&users=cjones&f=pjsonExample 2: URL for adding users with username "jrobinson" and "amiller" to group Managers with id "3". The person who makes the request is "admin0000".
http://sampleserver/arcgis/rest/services/Workflow/WMServer/community/groups/1/addUsers?user=admin0000&users=jrobinson,amiller&f=pjson{ "success": true }
{ "success": true }