/// <summary> /// Returns a list of database principals of the given Kusto cluster and /// database. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group containing the Kusto cluster. /// </param> /// <param name='clusterName'> /// The name of the Kusto cluster. /// </param> /// <param name='databaseName'> /// The name of the database in the Kusto cluster. /// </param> public static IEnumerable <DatabasePrincipal> ListPrincipals(this IDatabasesOperations operations, string resourceGroupName, string clusterName, string databaseName) { return(operations.ListPrincipalsAsync(resourceGroupName, clusterName, databaseName).GetAwaiter().GetResult()); }