ApplicationsOperationsExtensions.AddOwnerAsync(IApplicationsOperations, String, AddOwnerParameters, CancellationToken) 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
System.String

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

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Applies to