Showing results for 
Search instead for 
Did you mean: 
kedarp Frequent Visitor
Frequent Visitor

Role detection in embed RLS

Hi All,

I am beginner in power bi and trying to embed reports for customers using onboarding tool .


I have downloaded sample app and .net code generated by the tool for my reports.


When Role and username values are provided in the UI form, RLS works well.


My queries here are:

1)Will it be possible to get username and assigned role dynamically at runtime based on logged in user instead of passing it as static/form values? 

2) Is it possible to dynamically generate embed token along with role and username values?


Any pointers here are really appreciated.


P.S : I have refered as well.

Here also roles are passed as static values and not dynamic ones.


Thanks in advance for your help,