Dela via


IPrincipalOperations.AddToAppAsync Method

Definition

Adds a list of principals to the given collection.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.SecurityPrincipalOperationsResult> AddToAppAsync (string collectionName, string appAlias, Microsoft.WindowsAzure.Management.RemoteApp.Models.SecurityPrincipalList securityPrincipalList, System.Threading.CancellationToken cancellationToken);
abstract member AddToAppAsync : string * string * Microsoft.WindowsAzure.Management.RemoteApp.Models.SecurityPrincipalList * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.SecurityPrincipalOperationsResult>
Public Function AddToAppAsync (collectionName As String, appAlias As String, securityPrincipalList As SecurityPrincipalList, cancellationToken As CancellationToken) As Task(Of SecurityPrincipalOperationsResult)

Parameters

collectionName
String

The RemoteApp collection name.

appAlias
String

Application alias.

securityPrincipalList
SecurityPrincipalList

A list of RemoteApp principals to add to the published app.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response for the collection user operation.

Applies to