GroupsOperationsExtensions.RemoveMemberAsync Method

Definition

Remove a member from a group.

public static System.Threading.Tasks.Task RemoveMemberAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IGroupsOperations operations, string groupObjectId, string memberObjectId, System.Threading.CancellationToken cancellationToken = default);
static member RemoveMemberAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IGroupsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function RemoveMemberAsync (operations As IGroupsOperations, groupObjectId As String, memberObjectId As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IGroupsOperations

The operations group for this extension method.

groupObjectId
String

The object ID of the group from which to remove the member.

memberObjectId
String

Member object id

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to