GatewaysOperationsExtensions.AddDatasourceUserAsync Method

Definition

public static System.Threading.Tasks.Task AddDatasourceUserAsync (this Microsoft.PowerBI.Api.IGatewaysOperations operations, Guid gatewayId, Guid datasourceId, Microsoft.PowerBI.Api.Models.DatasourceUser addUserToDatasourceRequest, System.Threading.CancellationToken cancellationToken = default);
static member AddDatasourceUserAsync : Microsoft.PowerBI.Api.IGatewaysOperations * Guid * Guid * Microsoft.PowerBI.Api.Models.DatasourceUser * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function AddDatasourceUserAsync (operations As IGatewaysOperations, gatewayId As Guid, datasourceId As Guid, addUserToDatasourceRequest As DatasourceUser, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IGatewaysOperations
gatewayId
Guid
datasourceId
Guid
addUserToDatasourceRequest
DatasourceUser
cancellationToken
CancellationToken

Returns

Applies to