Let us know so we can improve!
The online Trailblazer Community is now read-only. [Read the FAQ] [Get Help]
StandardObjectNameOwnerSharingRule is the model for all owner sharing rule objects associated with standard objects. These objects represent a rule for sharing a standard object with users other than the owner.
The object name is variable and uses StandardObjectNameOwnerSharingRule syntax. For example, ChannelProgramOwnerSharingRule is a rule for sharing a channel program with users other than the channel program owner. The available associated owner sharing rule objects are listed at the end of this topic. For specific version information, see the standard object documentation.
To enable access to this object, contact Salesforce customer support. But we recommend that you use Metadata API to programmatically update owner sharing rules instead because it triggers automatic sharing rule recalculation. The SharingRules Metadata API type is enabled for all orgs.
Note
create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update(), upsert()
For specific special access rules, if any, see the documentation for the standard object. For example, for ChannelProgramOwnerSharingRule, see the special access rules for ChannelProgram.
Type: picklist
Properties: Create, Filter, Group, Restricted picklist, Sort, Update
Description: Determines the level of access users have to records.
Possible values:
Read (read only)Edit (read/write)DeveloperName for each record. If no DeveloperName is specified, performance can slow while Salesforce generates one for each record.