GatewaysExtensions.AddDatasourceUserAsync(IGateways, String, String, UserAccessRight, CancellationToken) GatewaysExtensions.AddDatasourceUserAsync(IGateways, String, String, UserAccessRight, CancellationToken) Method

Definition

public static System.Threading.Tasks.Task<object> AddDatasourceUserAsync (this Microsoft.PowerBI.Api.V2.IGateways operations, string gatewayId, string datasourceId, Microsoft.PowerBI.Api.V2.Models.UserAccessRight addUserToDatasourceRequest, System.Threading.CancellationToken cancellationToken = null);
static member AddDatasourceUserAsync : Microsoft.PowerBI.Api.V2.IGateways * string * string * Microsoft.PowerBI.Api.V2.Models.UserAccessRight * System.Threading.CancellationToken -> System.Threading.Tasks.Task<obj>

Parameters

operations
IGateways IGateways
gatewayId
String String
datasourceId
String String
addUserToDatasourceRequest
UserAccessRight UserAccessRight

Returns

Applies to