microsoft / Reporting-Services

Git repo for SQL Server Reporting Services and Power BI paginated report samples, and community projects
MIT License
427 stars 363 forks source link

Row Level Security #87

Closed manceelee closed 6 years ago

manceelee commented 6 years ago

Hi,

   Has anyone implemented RLS with forms login, currently we have Power BI on premise, and we don't use Analysis Server to get the data, is there anyway can implement RLS (ex: a user login to the report server, it will only show certain data by passing the parameter - not filtered)  

Thanks,

Ryan

gboreki commented 6 years ago

This is currently only possible with live analisys services connections (not embedded data), in that scenario you can use CustomData={{userid}} in the connection string, why can in turn be used to filter the data. For embedded models you need pbidesktop RLS which is still not supported. If you havent posted this yet to ideas.powerbi.com please do so to get more visibility and help prioritize that feature.