PowerBIToken.CreateReportEmbedToken Method

Definition

Overloads

CreateReportEmbedToken(String, String, String, String, IEnumerable<String>, String)
CreateReportEmbedToken(String, String, String, DateTime, String, IEnumerable<String>, String)
CreateReportEmbedToken(String, String, String, TimeSpan, String, IEnumerable<String>, String)
CreateReportEmbedToken(String, String, String, String, DateTime, String, IEnumerable<String>, String)

CreateReportEmbedToken(String, String, String, String, IEnumerable<String>, String)

public static Microsoft.PowerBI.Security.PowerBIToken CreateReportEmbedToken (string workspaceCollectionName, string workspaceId, string reportId, string username = null, System.Collections.Generic.IEnumerable<string> roles = null, string scopes = null);
static member CreateReportEmbedToken : string * string * string * string * seq<string> * string -> Microsoft.PowerBI.Security.PowerBIToken
Public Shared Function CreateReportEmbedToken (workspaceCollectionName As String, workspaceId As String, reportId 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
reportId
String
username
String
scopes
String

Returns

PowerBIToken

Applies to

Product Introduced

CreateReportEmbedToken(String, String, String, DateTime, String, IEnumerable<String>, String)

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

Parameters

workspaceCollectionName
String
workspaceId
String
reportId
String
expiration
DateTime
username
String
scopes
String

Returns

PowerBIToken

Applies to

Product Introduced

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

public static Microsoft.PowerBI.Security.PowerBIToken CreateReportEmbedToken (string workspaceCollectionName, string workspaceId, string reportId, TimeSpan slidingExpiration, string username = null, System.Collections.Generic.IEnumerable<string> roles = null, string scopes = null);
static member CreateReportEmbedToken : string * string * string * TimeSpan * string * seq<string> * string -> Microsoft.PowerBI.Security.PowerBIToken
Public Shared Function CreateReportEmbedToken (workspaceCollectionName As String, workspaceId As String, reportId 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
reportId
String
slidingExpiration
TimeSpan
username
String
scopes
String

Returns

PowerBIToken

Applies to

Product Introduced

CreateReportEmbedToken(String, String, String, String, DateTime, String, IEnumerable<String>, String)

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

Parameters

workspaceCollectionName
String
workspaceId
String
reportId
String
datasetId
String
expiration
DateTime
username
String
scopes
String

Returns

PowerBIToken

Applies to

Product Introduced