Sharing Rule Types
Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience |
Available in: Professional, Enterprise, Performance,
Unlimited, and Developer Editions See Sharing Rule Considerations for more information on availability. |
Owner-Based Sharing Rules
An owner-based sharing rule opens access to records owned by certain users. For example, a company’s sales managers must see opportunities owned by sales managers in a different region. The U.S. sales manager could give the APAC sales manager access to the opportunities owned by the U.S. team using owner-based sharing.
Criteria-Based Sharing Rules
A criteria-based sharing rule determines with whom to share records based on field values. For example, you have a custom object for job applications, with a custom picklist field named “Department.” A criteria-based sharing rule could share all job applications in which the Department field is set to “IT” with all IT managers in your organization.
You can create criteria-based sharing rules for many objects, including accounts, assets, campaigns, cases, contacts, leads, opportunities, work orders, and custom objects. For the sharing criteria, record types and these field types are supported.
- Auto Number
- Checkbox
- Date
- Date/Time
- Lookup Relationship (to user ID or queue ID)
- Number
- Percent
- Phone
- Picklist
- Text
- Text Area
- URL
Guest User Sharing Rules
A guest user sharing rule is a special type of criteria-based sharing rule and the only way to grant record access to unauthenticated guest users. For example, you create a sharing rule so that all visitors to your site can see all product review records.
You can also create user sharing rules based on group membership.