KustoDatabaseResource.GetPrincipals(CancellationToken) 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.
Returns a list of database principals of the given Kusto cluster and database.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/listPrincipals
- Operation Id: Databases_ListPrincipals
public virtual Azure.Pageable<Azure.ResourceManager.Kusto.Models.KustoDatabasePrincipal> GetPrincipals (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPrincipals : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Kusto.Models.KustoDatabasePrincipal>
override this.GetPrincipals : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Kusto.Models.KustoDatabasePrincipal>
Public Overridable Function GetPrincipals (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of KustoDatabasePrincipal)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of KustoDatabasePrincipal that may take multiple service requests to iterate over.