StandardObjectNameOwnerSharingRule
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. We list the available associated owner sharing rule objects at the end of this topic. For specific version information, see the standard object documentation.
Supported Calls
create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update(), upsert()
Special Access Rules
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.
Fields
AccessLevel
- Type: picklist
- Properties: Create, Filter, Group, Restricted picklist, Sort, Update
-
Description: Determines the level of access users have to records. Values are:
- Read (read only)
- Edit (read/write)
Description
- Type: textarea
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Description of the sharing rule. Maximum length is 1000 characters.
DeveloperName
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: The unique name of the object in the API. This name can contain only underscores and
alphanumeric characters, and must be unique in your org.
It must begin with a letter, not include spaces, not end
with an underscore, and not contain two consecutive
underscores. In managed packages, this field prevents
naming conflicts on package installations. With this
field, a developer can change the object’s name in a
managed package and the changes are reflected in a
subscriber’s organization.
When creating large sets of data, always specify a unique DeveloperName for each record. If no DeveloperName is specified, performance slows down while Salesforce generates one for each record.
GroupId
- Type: reference
- Properties: Create, Filter, Group, Sort
- Description: ID of the source group. Records that are owned by users in the source group trigger the rule to give access.
Name
- Type: string
- Properties: Create, Filter, Group, idLookup, Sort, Update
- Description: Label of the sharing rule as it appears in the UI. Maximum length is 80 characters.
UserOrGroupId
- Type: reference
- Properties: Create, Filter, Group, Sort
- Description: ID of the user or group that you are granting access to.
Objects That Follow This Model
These objects follow the standard pattern
for associated feed objects.
- ActionableListDtastClmnUsr
- ActionableListMember
- ActionPlanOwnerSharingRule
- ActionPlanTemplateOwnerSharingRule
- AirTravelEmssnFctr
- AirTravelEnrgyUse
- ApplicationReview
- AssessmentIndicatorDefinition
- AssetAccountParticipant
- AssetContactParticipant
- AssetMilestone
- BenefitSchedule
- BenefitSession
- BenefitType
- BldgEnrgyIntensity
- BldgEnrgyIntensityCnfg
- BldgEnrgyIntensityVal
- BldgSizeCategory
- Budget
- ComplianceTest
- CrbnEmssnScopeAlloc
- CrbnEmssnScopeAllocVal
- DocumentDecisionRequirement
- ElectricityEmssnFctrSet
- ExpressionSetVersion
- FrgtHaulingEmssnFctr
- FrgtHaulingEnrgyUse
- FundingAward
- FundingOpportunity
- GeneratedWaste
- GenericVisitTask
- GenericVisitTaskContext
- GnrcVstKeyPerformanceInd
- GnrcVstTaskContextRelation
- GroundTravelEmssnFctr
- GroundTravelEnrgyUse
- HotelStayEmssnFctr
- HotelStayEnrgyUse
- IndividualApplication
- InflationRate
- JournalType
- LeadLineItem
- LeadPreferredSeller
- LoyaltyProgram
- LoyaltyProgramMember
- LoyaltyProgramMemberCase
- LoyaltyProgramPartner
- LoyaltyProgramProcess
- OpportunityPreferredSeller
- OtherEmssnFctrSet
- OtherEmssnFctrSetItem
- OutboundEngmtContentRsrc
- PartyRelationshipGroup
- PcmtEmssnFctrSet
- PcmtEmssnFctrSetItem
- PreliminaryApplicationRef
- Program
- ProgramEnrollment
- Promotion
- RebateClaim
- RefrigerantEmssnFctr
- RentalCarEmssnFctr
- RentalCarEnrgyUse
- Scope3CrbnFtprnt
- Scope3EmssnSrc
- Scope3PcmtItem
- Scope3PcmtSummary
- StnryAssetCrbnFtprnt
- StnryAssetCrbnFtprntItm
- StnryAssetEnrgyUse
- StnryAssetEnvrSrc
- VehicleAssetCrbnFtprnt
- VehicleAssetEmssnSrc
- VehicleAssetEnrgyUse
- VehAssetEnrgyUseCnfg
- WasteFootprint
- WasteFootprintItem
- WstDispoEmssnFctrSet
- WstDispoEmssnFctrSetItm
- StnryAssetEnrgyUseCnfg
- Vehicle
- VehicleDefinition
- Visit