Dela via


IPrincipalOperations.ListForAppAsync Method

Definition

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

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

Parameters

collectionName
String

The RemoteApp collection name.

appAlias
String

Application alias.

cancellationToken
CancellationToken

Cancellation token.

Returns

The list of principals with consent status.

Applies to