Forum Discussion
JonGunnar
4 years agoFrequent Visitor
Defining row level security dynamically
Hi, in a customer database some customer with a certain product should receive a report monthly containing their own data only. This process can be managed with 1. RLS in Desktop 2. Security on...
lbendlin
4 years agoSuper User
What you are describing is not dynamic RLS, it is static RLS. Dynamic RLS is based on USERPRINCIPALNAME which may or may not be applicable/available in your scenario.
Use a RLS mapping table that holds the customers and their permissions, and then have one role with rules based on the permissions sets.