Newer Version Available
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.