PowerBIToken.CreateReportEmbedTokenWithScopes(String, String, String, String, String, IEnumerable<String>, IEnumerable<String>) Method

Definition

public static Microsoft.PowerBI.Security.PowerBIToken CreateReportEmbedTokenWithScopes (string workspaceCollectionName, string workspaceId, string reportId = null, string datasetId = null, string username = null, System.Collections.Generic.IEnumerable<string> roles = null, System.Collections.Generic.IEnumerable<string> scopesList = null);
static member CreateReportEmbedTokenWithScopes : string * string * string * string * string * seq<string> * seq<string> -> Microsoft.PowerBI.Security.PowerBIToken
Public Shared Function CreateReportEmbedTokenWithScopes (workspaceCollectionName As String, workspaceId As String, Optional reportId As String = null, Optional datasetId As String = null, Optional username As String = null, Optional roles As IEnumerable(Of String) = null, Optional scopesList As IEnumerable(Of String) = null) As PowerBIToken

Parameters

workspaceCollectionName
String
workspaceId
String
reportId
String
datasetId
String
username
String
scopesList
IEnumerable<String>

Returns

PowerBIToken

Applies to