Forum Discussion
prajaktakeni11
2 years agoHelper I
RLS based on Category
Hello ,
I have employee data with different role , I want to restrict data based on Resource type
for example Employee (1) has resource type A and is location head can view only his data being a location head and related resource data fromsales table
can you please help
7 Replies
- lbendlinSuper User
I assume you have a reference table in your data model that maps USERPRINCIPALNAME to resource type?
- prajaktakeni11Helper I
I do have a Refrence Table , with USERNAME we are mapping it to Resource Type
- lbendlinSuper User
Needs to be USERPRINCIPALNAME. their email address, basically.
- prajaktakeni11Helper I
lbendlin Can't we do it with employee id USERNAME()......?,
and Could you please help me out on dax how can I restrict data based on Type for specific People