다음을 통해 공유


GroupsOperationsExtensions.AddOwnerAsync Method

Definition

Add an owner to a group.

public static System.Threading.Tasks.Task AddOwnerAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IGroupsOperations operations, string objectId, Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.AddOwnerParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member AddOwnerAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IGroupsOperations * string * Microsoft.Azure.Management.Graph.RBAC.Fluent.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