Activity Forums Salesforce® Discussions What is Apex Managed Sharing in salesforce? Reply To: What is Apex Managed Sharing in salesforce?

  • Anurag

    September 18, 2018 at 2:24 pm


    Salesforce allows you to control access to data at many different levels i.e. object-level, the record-level and the field-level. Here we will focus on methods for controlling access to data at the record-level. In the most of the scenario you can use Out-of-box sharing settings to grant record access, but there are few use cases where  you have to write an Apex Managed Sharing to share the records with users or groups. Apex ManagedSharing allows you to use Apex Code to build sophisticated and dynamic sharing settings that aren’t otherwise possible. In this article I will show you how can use Flow and Process Builder to solve these requirements instead of using Apex code.