Forum Discussion

Aashishjain27's avatar
Aashishjain27
New Member
9 months ago
Solved

RLS with IF condition

Requirement is if following condition meets then only RLS should apply else RLS wont apply and user sees entire data. following code not working id condition is meeting still user seeing entire data...
  • lbendlin's avatar
    lbendlin
    9 months ago

    That's not how dynamic RLS works. You are supposed to hold a permission mapping table that is keyed off the USERPRINCIPALNAME and then controls the rest of the data model.

     

    You don't seem to have the required dimension tables for this?