public DatabasePrincipalListResultInner addPrincipals(String resourceGroupName, String clusterName, String databaseName, List<DatabasePrincipalInner> value) {
        return addPrincipalsWithServiceResponseAsync(resourceGroupName, clusterName, databaseName, value).toBlocking().single().body();
    }
public DatabasePrincipalListResultInner addPrincipals ( String resourceGroupName , String clusterName , String databaseName , List < DatabasePrincipalInner > value ) { return addPrincipalsWithServiceResponseAsync ( resourceGroupName , clusterName , databaseName , value ) . toBlocking ( ) . single ( ) . body ( ) ; }
Add Database principals permissions.

@param resourceGroupName The name of the resource group containing the Kusto cluster.
@param clusterName The name of the Kusto cluster.
@param databaseName The name of the database in the Kusto cluster.
@param value The list of Kusto database principals.
@throws IllegalArgumentException thrown if parameters fail the validation
@throws CloudException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@return the DatabasePrincipalListResultInner object if successful.