Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi all,
is there a function, like userprincipalname(), to get role/profile of user, to implement RLS a role level and not user level?
Thank you in advance,
Sandro
Hi @sangi1981
There is no DAX function that gives any further information about the current user.
I would suggest using the Active Directory connector to import a table containing additional user attributes, and use that to help define RLS rules.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |