Scenario: I have a requirement where I need to share records of some custom objects with users whose role could be anything say like region wise sharing. What could be the best way, till now in my org there were two to three persons in each region so we used to share it manually. Now team size has a huge increase and sometimes we require to downsize too so manual sharing is not a good option any more. Whether we go with apex sharing or no-code sharing but with ease of add/excluding users.

Please suggest a good solution.

  • You can go for creiteria based sharing, if its about sharing based on regions. Hope those region is also captured in User(to which region he belongs to) Nov 2, 2016 at 7:36
  • As I mentioned in my question, I need to add many users belonging to different roles whom I can't club in same profiles as well. Please advice
    – SFDev
    Nov 2, 2016 at 7:40
  • Can you please post the screen shot of that error. Nov 2, 2016 at 9:42
  • No it's working fine, So I deleted my comments
    – SFDev
    Nov 2, 2016 at 9:43

2 Answers 2


You can Use Public Groups for adding/remove users, And using Sharing Rules you can share with those Public Groups based on some criteria to grant Read Only OR Read/Write Permissions.

Public Groups - Setup | Administer | Manage User | Public Groups

Sharing Rules - Setup | Administer | Security Controls | Sharing Settings


You can use criteria based sharing rules to share records based on their region and set the OWD (organization wide defaults) to private and your criteria based sharing rules will open the record access for specific users meeting the criteria.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .