Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Implement dynamic security with multiple columns

Hi All,

 

I need to implement dynamic security filters for users based on data in 3 columns of my dataset.  I dont have any hierarchy defined at table level for these, but virtually it can be considered hierarchical in ascending order.  Sample data below for more clear understanding:

 

Manager1Manager2Manager3
abcabcabc
abcxyzljk
abcxyzdef
bdebdeijf
bdeasddsd
cdedeedds

 

If Manager1 has no hierarchy, its repeated for Manager2&3, and similary for Manager2.  Now I need to implement dynamic rls for this, like the UserName() if matches any of the 3 managers, then it should show those records only (there are other columns as well in dataset).  Is it possible to compare input UserName() against 3 columns from the same dataset? If yes how?

3 Replies