FRAMES | NO FRAMES Description | Parameters | Examples | Response
Add Users (Operation)
URL http://<group-url>/addUsers
Parent Resource Group

Description

This operation is supported from 10.3.1 onwards.

Add users to a group.

Parameters

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 Usage

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=pjson

Example 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

JSON Response Syntax

{ "success": true }

JSON Response Example

{ "success": true }