Find an DAX equation to return the current applied role (RLS) in Power Bi

Job ID: 33941116

Budget: $10 – $20 USD

We have a Power BI dashboard,
We need an DAX equation to return the the current applied role (Row-Level Security),
To use the output with if statement.
Related categories: Power BI