updateUserMemberships

updateUserMemberships

updateUserMemberships(requestOptionsIUpdateGroupUsersOptions): Promise<IUpdateGroupUsersResult>

Change the user membership levels of existing users in a group

Use dark colors for code blocksCopy
        
1
2
3
4
5
6
7
8
import { updateUserMemberships } from "@esri/arcgis-rest-portal";

updateUserMemberships({
  id: groupId,
  admins: ["username3"],
  authentication
})
.then(response);
Parameters
ParameterTypeNotes
requestOptions
IUpdateGroupUsersOptions

Options for the request

Returns 
Promise<IUpdateGroupUsersResult>

A Promise

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