Dela via


IPrincipalOperations.AddAsync Method

Definition

Adds a list of principals to the given collection.

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

Parameters

collectionName
String

The RemoteApp collection name.

securityPrincipalList
SecurityPrincipalList

A list of RemoteApp principals to add.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response for the collection user operation.

Applies to