updateUserMemberships
FunctionupdateUserMemberships(requestOptions: IUpdateGroupUsersOptions): Promise<IUpdateGroupUsersResult>
Change the user membership levels of existing users in a group
import { updateUserMemberships } from "@esri/arcgis-rest-portal";
updateUserMemberships({
id: groupId,
admins: ["username3"],
newMemberType: "admin",
authentication
})
.then(response);
Parameters
Parameter | Type | Notes |
---|---|---|
request | IUpdateGroupUsersOptions | Options for the request |
Returns
Promise<IUpdateGroupUsersResult>
A Promise