Forum Discussion

menphis21's avatar
menphis21
Helper IV
3 years ago

Insert a condition on the managing role RLS

Hi,

i have a table with all the data about the hours that each employee reports each month.

I have a hierarchy with user, his counselour, team leader etc

 

But i want that the counselor can see his team and also himself in the data so its means that i need to write in the managing role something like 

[Counselor Email]= Userprincipalname() or [User Email]= Userprincipalname()

 

How can i do it ?

 

Thank you 🙂