IPrincipalOperations.AddToAppAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a list of principals to the given collection.
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.SecurityPrincipalOperationsResult> AddToAppAsync (string collectionName, string appAlias, Microsoft.WindowsAzure.Management.RemoteApp.Models.SecurityPrincipalList securityPrincipalList, System.Threading.CancellationToken cancellationToken);
abstract member AddToAppAsync : string * string * Microsoft.WindowsAzure.Management.RemoteApp.Models.SecurityPrincipalList * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.SecurityPrincipalOperationsResult>
Public Function AddToAppAsync (collectionName As String, appAlias As String, securityPrincipalList As SecurityPrincipalList, cancellationToken As CancellationToken) As Task(Of SecurityPrincipalOperationsResult)
Parameters
- collectionName
- String
The RemoteApp collection name.
- appAlias
- String
Application alias.
- securityPrincipalList
- SecurityPrincipalList
A list of RemoteApp principals to add to the published app.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The response for the collection user operation.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET