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.
LeadShare
You can only create, edit, and delete sharing entries for standard objects whose RowCause field is set to Manual. Sharing entries for standard objects with different RowCause values are created as a result of your Salesforce org’s sharing configuration and are read-only. For some sharing mechanisms, such as sharing sets, sharing entries aren’t stored at all.
Supported Calls
create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()
Special Access Rules
As of Summer ’20 and later, only users with access to the Lead object can access this object.
Fields
The properties available for some fields depend on the default org-wide sharing settings. The properties listed are true for the default settings of such fields.
| Field | Details |
|---|---|
| IsDeleted |
|
| LeadAccessLevel |
|
| LeadId |
|
| RowCause |
|
| UserOrGroupId |
|
Usage
This object allows you to determine which users and groups can view or edit leads owned by other users.
If you attempt to create a record that matches an existing record, the existing record is returned.