The online Trailblazer Community is now read-only. [Read the FAQ] [Get Help]
Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.
Important
Salesforce stores access grants in three types of tables.
Tables that store the records of a specific object, and indicate which user, group, or queue owns each record.
Tables that store the data that supports explicit and implicit grants. Most objects in your organization (to see them, from Setup, enter Sharing Settings in the Quick Find box, then select Sharing Settings) get their own Object Sharing table, unless any of the following conditions are also true:
Tables that store the data supporting group membership and inherited access grants. For example, if the Object Sharing table grants Bob explicit access to the Acme account record, Salesforce checks the Group Maintenance tables to see which users inherit record access from Bob and grants users access to the Acme record. These grants are established in advance when you create or change the group (or role, or territory) membership information.
While Object Sharing tables store access grants to individuals and groups, Group Maintenance tables store the list of users or groups that belong to each group, indicating group membership. Both types of tables are used to determine a user’s access to data when they’re searching, querying, or pulling up a report or list view.
When a user tries to retrieve one or more records, Salesforce generates a SQL statement that searches the Object Record table for records matching the user’s search string. If the record exists, Salesforce appends SQL to the statement that joins the Object Records table with the Object Sharing table, and the Object Sharing table with the Group Maintenance tables. Salesforce queries the joined tables for access grants that give the querying user access to the record.
| When you join the following tables… | Salesforce matches on |
|---|---|
| Object Record and Object Sharing | Record ID |
| Object Sharing and Group Maintenance | User ID or group ID |
This diagram illustrates that Salesforce matching process in sequence.

Salesforce returns only records that satisfy the entire statement, including its appended SQL. To satisfy the statement, the record must exist, and either the Object Sharing table or the Group Maintenance tables must grant access to the querying user.
Even though both the Object Sharing and Group Maintenance tables provide access grants, the ways in which they provide those grants differ significantly.