Dela via


PrincipalOperationsExtensions.AddAsync Method

Definition

Adds a list of principals to the given collection.

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

Parameters

operations
IPrincipalOperations

Reference to the Microsoft.WindowsAzure.Management.RemoteApp.IPrincipalOperations.

collectionName
String

Required. The RemoteApp collection name.

securityPrincipalList
SecurityPrincipalList

Required. A list of RemoteApp principals to add.

Returns

The response for the collection user operation.

Applies to