GroupsOperationsExtensions.RemoveOwnerAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.