Share via


ApplicationsOperationsExtensions.AddOwnerAsync Method

Definition

Add an owner to an application.

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

Parameters

operations
IApplicationsOperations

The operations group for this extension method.

applicationObjectId
String

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to