function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Devika Mishra 23Devika Mishra 23 

how can we restrict managers of different locations who are having same role and profile..???

how can we restrict managers of different locations who are having same role and profile?
Is there any way to do it.
VinayVinay (Salesforce Developers) 
Hi Devika,

Check below reference for same.

https://salesforce.stackexchange.com/questions/224695/how-to-restrict-record-access-from-users-who-are-on-same-level-in-role-hierarchy

Thanks,
Devika Mishra 23Devika Mishra 23
Hi Vinay,
I had gone through with this answer but this does not fullfil my question's answer.
if there is 4 manager of different locations how can we restrict theirs access in org so that they can see only each others data..this is the query.
Devika Mishra 23Devika Mishra 23
all 4 managers having same role and profile.
AnudeepAnudeep (Salesforce Developers) 
Hi Devika,

You can implement Sharing Records with Manager Groups

Please see the documentation to learn more

Let me know if it helps