Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

StandardObjectNameShare

StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.

The object name is variable and uses StandardObjectNameShare syntax. For example, AccountBrandShare is a sharing entry on an account brand. We list the available associated share objects at the end of this topic. For specific version information, see the standard object documentation.

Supported Calls

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

Special Access Rules

For specific special access rules, if any, see the documentation for the standard object. For example, for AccountBrandShare, see the special access rules for AccountBrand.

Fields

Field Name Type Properties Description
AccessLevel picklist Create, Filter, Group, Restricted picklist, Sort, Update The level of access allowed. Values are All (owner), Edit (read/write), or Read (read only).
ParentId reference Create, Filter, Group, Sort ID of the parent record.
RowCause picklist Create, Filter, Group, Nillable, Restricted picklist, Sort Reason that the sharing entry exists.
UserOrGroupId reference Create, Filter, Group, Sort ID of the user or group that has been given access to the object.