Activity Forums Salesforce® Discussions What is the use of writing sharing rules? Can you use sharing rules to restrict data access? Reply To: What is the use of writing sharing rules? Can you use sharing rules to restrict data access?

  • shariq

    Member
    September 21, 2018 at 12:34 am

    Hi,

    Sharing enables record-level access control for all custom objects, as well as many standard objects (such as Account, Contact, Opportunity and Case). Administrators first set an object’s organization-wide default sharing access level, and then grant additional access based on record ownership, the role hierarchy, sharing rules, and manual sharing. Developers can then use Apex managed sharing to grant additional access programmatically with Apex. Most sharing for a record is maintained in a related sharing object, similar to an access control list (ACL) found in other platforms.

    Hope this helps.