You need to sign in to do that
Don't have an account?
Pratap admin
salesforce sharing
How can we restrict access to salesforce user based on their geographic location.
Use case:- My org has users from different countries like US,UK,Japan etc. I do not want users of a location to see the data of the other locations user. Also, all users are having the same profile.
This question was asked to me in an interview. Just want to know how can we achieve this.
Thanks
Use case:- My org has users from different countries like US,UK,Japan etc. I do not want users of a location to see the data of the other locations user. Also, all users are having the same profile.
This question was asked to me in an interview. Just want to know how can we achieve this.
Thanks
then create a sharing rule to share the records to users that has the same geo location as the user
STEP 1:- Set the organization Wide Sharing (OWD) as private.
STEP 2:- Create three role for each country
STEP 3:- Create three sharing rule for each contry and share your record with roles
Please let us know if this will help you.
Thanks
Amit Chaudhary
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_bulk_sharing_creating_with_apex.htm