Forum Discussion

twister8889's avatar
twister8889
Helper V
5 years ago

rls multiples values

Hi guys,

 

I have an RLS by three columns, and I am thinking in concatenate these columns as key.

Data_table

Column1Column2Column3Key
Product1Category1Subcategory1Product1Category1Subcategory1
Product1Category1Subcategory2Product1Category1Subcategory2
............
Product2Category1Subcategory1Product2Category1Subcategory1

 

I have a doubt, some users have access to all values, in my user table do I need to repeat the user for a lot of rows to each key, or has another way to indicate the user has access to all values?

 

User_table

KeyUser
Product1Category1Subcategory1[email protected]
Product1Category1Subcategory2[email protected]
Product1Category1Subcategory3[email protected]

 

In manage roles, I will use the User column with USERPRINCIPALNAME()

3 Replies