PowerBIToken.CreateReportEmbedTokenForCreation Method

Definition

Overloads

CreateReportEmbedTokenForCreation(String, String, String, TimeSpan, String, IEnumerable<String>, String)
CreateReportEmbedTokenForCreation(String, String, String, String, IEnumerable<String>, String)

CreateReportEmbedTokenForCreation(String, String, String, TimeSpan, String, IEnumerable<String>, String)

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

Parameters

workspaceCollectionName
String
workspaceId
String
datasetId
String
slidingExpiration
TimeSpan
username
String
scopes
String

Returns

PowerBIToken

Applies to

Product Introduced

CreateReportEmbedTokenForCreation(String, String, String, String, IEnumerable<String>, String)

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

Parameters

workspaceCollectionName
String
workspaceId
String
datasetId
String
username
String
scopes
String

Returns

PowerBIToken

Applies to

Product Introduced