Forum Discussion

oliviernicollet's avatar
oliviernicollet
Frequent Visitor
8 years ago

Power BI Report Server with custom security using row level security

Hello,

 

  I tryed the sample custom security https://github.com/Microsoft/Reporting-Services/tree/master/CustomSecuritySample. This works fine except the user i get from DAX is NT SERVICE\PowerBiReportServer and not user from database. This make it impossible to use Row Level Security with USERPRINCIPALNAME() or USERNAME().

 

  Is there any solution to get the user of custom security in report?

 

 

 

2 Replies