Esempio n. 1
0
 /// <summary>
 /// This functionality is only available in a workspace context. Use
 /// [Dashboards
 /// GenerateTokenInGroup](/rest/api/power-bi/embedtoken/dashboards_generatetokeningroup).
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='dashboardKey'>
 /// The dashboard id
 /// </param>
 /// <param name='requestParameters'>
 /// Generate token parameters
 /// </param>
 public static EmbedToken GenerateToken(this IDashboards operations, string dashboardKey, GenerateTokenRequest requestParameters)
 {
     return(operations.GenerateTokenAsync(dashboardKey, requestParameters).GetAwaiter().GetResult());
 }