Dela via


PrincipalOperationsExtensions.ListForAppAsync Method

Definition

Gets a list of all RemoteApp principals associated with the given app in a collection.

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

Parameters

operations
IPrincipalOperations

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

collectionName
String

Required. The RemoteApp collection name.

appAlias
String

Required. Application alias.

Returns

The list of principals with consent status.

Applies to