GroupsOperationsExtensions.RemoveOwnerAsync Method

Definition

Remove a member from owners.

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

Parameters

operations
IGroupsOperations

The operations group for this extension method.

objectId
String

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

ownerObjectId
String

Owner object id

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to