addGroupUsers

addGroupUsers

Function
addGroupUsers(requestOptionsIAddGroupUsersOptions): Promise<IAddGroupUsersResult>

Add users to a group. See the REST Documentation for more information.

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
import { addGroupUsers } from "@esri/arcgis-rest-portal";
//
addGroupUsers({
  id: groupId,
  users: ["username1", "username2"],
  admins: ["username3"],
  authentication
})
.then(response);
Parameters
ParameterTypeNotes
requestOptions
IAddGroupUsersOptions

Options for the request

Returns 
Promise<IAddGroupUsersResult>

A Promise

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.