Newer Version Available

This content describes an older version of this product. View Latest

Creating User Sharing Rules

Share members of a group to members of another group, or share users based on criteria.
Available in: Professional, Enterprise, Performance, Unlimited, and Developer Editions

User Permissions Needed
To create sharing rules: “Manage Sharing”

User sharing rules can be based on membership to public groups, roles, or territories, or on other criteria such as Department and Title. By default, you can define up to 300 user sharing rules, including up to 50 criteria-based sharing rules. Contact Salesforce for information about increasing these limits.

User sharing rules based on membership enable user records belonging to members of one group to be shared with members of another group. Before you can create a membership-based user sharing rule, confirm that the appropriate groups have been created.

Users inherit the same access as users below them in the role hierarchy.

  1. From Setup, click Security Controls | Sharing Settings.
  2. In the User Sharing Rules related list, click New.
  3. Enter the Label Name and click the Rule Name field to auto-populate it.
  4. Enter the Description. This field describes the sharing rule. It is optional and can contain up to 1000 characters.
  5. Select a rule type.
  6. Depending on the rule type you selected, do the following:
    1. Based on group membership—Users who are members of a group can be shared with members of another group. In the Users who are members of line, select a category from the first drop-down list and a set of users from the second drop-down list (or lookup field, if your organization has over 200 groups, roles, or territories).
    2. Based on criteriaSpecify the Field, Operator, and Value criteria that records must match to be included in the sharing rule. The fields available depend on the object selected, and the value is always a literal number or string. Click Add Filter Logic... to change the default AND relationship between each filter.
  7. In the Share with line, specify the group that should have access to the user records. Select a category from the first drop-down list and a set of users from the second drop-down list or lookup field.
  8. Select the sharing access setting for users.
    Access Setting Description
    Read Only Users can view, but not update, records. They can see target users in list views, lookups, search, and interact with them on Chatter.
    Read/Write Users can view and update records.
  9. Click Save.