共用方式為


KustoDatabaseResource.GetPrincipals(CancellationToken) Method

Definition

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.

Applies to