addGroupUsers
FunctionaddGroupUsers(requestOptions: IAddGroupUsersOptions): Promise<IAddGroupUsersResult>
Add users to a group. See the REST Documentation for more information.
import { addGroupUsers } from "@esri/arcgis-rest-portal";
//
addGroupUsers({
id: groupId,
users: ["username1", "username2"],
admins: ["username3"],
authentication
})
.then(response);
Parameters
Parameter | Type | Notes |
---|---|---|
request | IAddGroupUsersOptions | Options for the request |
Returns
Promise<IAddGroupUsersResult>
A Promise