GroupsOperationsExtensions.AddOwnerAsync Method

Definition

Add an owner to a group.

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

Parameters

operations
IGroupsOperations

The operations group for this extension method.

objectId
String

The object ID of the application to which to add the owner.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to