Dela via


PrincipalOperationsExtensions.AddToApp Method

Definition

Adds a list of principals to the given collection.

public static Microsoft.WindowsAzure.Management.RemoteApp.Models.SecurityPrincipalOperationsResult AddToApp (this Microsoft.WindowsAzure.Management.RemoteApp.IPrincipalOperations operations, string collectionName, string appAlias, Microsoft.WindowsAzure.Management.RemoteApp.Models.SecurityPrincipalList securityPrincipalList);
static member AddToApp : Microsoft.WindowsAzure.Management.RemoteApp.IPrincipalOperations * string * string * Microsoft.WindowsAzure.Management.RemoteApp.Models.SecurityPrincipalList -> Microsoft.WindowsAzure.Management.RemoteApp.Models.SecurityPrincipalOperationsResult
<Extension()>
Public Function AddToApp (operations As IPrincipalOperations, collectionName As String, appAlias As String, securityPrincipalList As SecurityPrincipalList) As SecurityPrincipalOperationsResult

Parameters

operations
IPrincipalOperations

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

collectionName
String

Required. The RemoteApp collection name.

appAlias
String

Required. Application alias.

securityPrincipalList
SecurityPrincipalList

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

Returns

The response for the collection user operation.

Applies to