Share via


ApplicationsOperationsExtensions.AddOwnerAsync Method

Definition

Add an owner to an application.

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