この文章は Salesforce 機械翻訳システムを使用して翻訳されました。詳細はこちらをご参照ください。
英語に切り替える

StandardObjectNameOwnerSharingRule

StandardObjectNameOwnerSharingRule は、標準オブジェクトに関連付けられている��べての所有者共有ルールオブジェクトのモデルです。これらのオブジェクトは、オブジェクト所有者以外のユーザと標準オブジェクトを共有するルールを表します。

オブジェクト名は変数で、StandardObjectNameOwnerSharingRule の構文を使用します。たとえば、ChannelProgramOwnerSharingRule はチャネルプログラム所有者以外のユーザとチャネルプログラムを共有するルールを表します。このトピックの最後で、使用可能な関連する所有者共有ルールオブジェクトのリストを示します。特定のバージョンの情報については、標準オブジェクトのドキュメントを参照してください。

組織でこのオブジェクトへのアクセスを可能にするには、Salesforce カスタマーサポートにお問い合わせください。ただし、その代わりとして、メタデータ API を使用して所有者共有ルールをプログラムで更新することをお勧めします。共有ルールの��適用が自動的にトリガされるためです。SharingRules メタデータ API 種別は、すべての組織で有効です。

メモ

サポートされているコール

create()delete()describeSObjects()getDeleted()getUpdated()query()retrieve()update()upsert()

特別なアクセスルール

特殊なアクセス権のルールが存在する場合には、標準オブジェクトのドキュメントを参照してください。たとえば、ChannelProgramOwnerSharingRule の場合、ChannelProgram への特別なアクセスルールについて参照してください。

項目

項目名 詳細
AccessLevel
picklist
プロパティ
Create、Filter、Group、Restricted picklist、Sort、Update
説明
レコードに対するユーザのアクセスレベルを決定します。値は次のとおりです。
  • Read (参照のみ)
  • Edit (参照・更新)
Description
textarea
プロパティ
Create、Filter、Nillable、Sort、Update
説明
共有ルールの説明。最大文字数は 1000 文字です。
DeveloperName
string
プロパティ
Create、Filter、Group、Nillable、Sort、Update
説明
API のオブジェクトの一意の名前。この名前は、アンダースコアと英数字のみを使用でき、組織内で一意にする必要があります。最初は文字であること、スペースは使用しない、最後にアンダースコアを使用しない、2 つ続けてアンダースコアを使用しないという制約があります。管理パッケージでこの項目を使用することにより、パッケージインストール時の名前の競合を回避します。この項目を使用して、開発者は管理パッケージのオブジェクト名を変更し、変更は登録者の組織で反映されます。

大規模データセットを作成する場合、必ず各レコードの一意の DeveloperName を指定してください。DeveloperName が指定されていないと、Salesforce で各レコードの DeveloperName を生成している間にパフォーマンスが低下する可能性があります。

メモ

GroupId
reference
プロパティ
Create、Filter、Group、Sort
説明
共有元グループの ID。共有元グループのユーザが所有するレコードが、ルールをトリガしてアクセス権を割り当てます。
Name
string
プロパティ
Create、Filter、Group、idLookup、Sort、Update
説明
UI に表示される共有ルールのラベル。最大文字数は 80 文字です。
UserOrGroupId
reference
プロパティ
Create、Filter、Group、Sort
説明
アクセス権を付与するユーザまたはグループの ID。

このモデルに準拠するオブジェクト

次のオブジェクトは、関連する所有者共有ルールオブジェクトの標準パターンに従っています。
  • AccountBrandOwnerSharingRule
  • AccountRelationshipOwnerSharingRule
  • ActiveScratchOrgOwnerSharingRule
  • AgentWorkOwnerSharingRule
  • AuthorizationFormConsentOwnerSharingRule
  • AuthorizationFormDataUseOwnerSharingRule
  • AuthorizationFormOwnerSharingRule
  • ChannelProgramLevelOwnerSharingRule
  • ChannelProgramMemberOwnerSharingRule
  • ChannelProgramOwnerSharingRule
  • CommerceEntitlementPolicyOwnerSharingRule
  • CommissionScheduleOwnerSharingRule
  • CommSubscriptionChannelTypeOwnerSharingRule
  • CommSubscriptionConsentOwnerSharingRule
  • CommSubscriptionOwnerSharingRule
  • ContactPointConsentOwnerSharingRule
  • ContactPointEmailOwnerSharingRule
  • ContactPointPhoneOwnerSharingRule
  • ContactPointTypeConsentOwnerSharingRule
  • ContactRequestOwnerSharingRule
  • CrisisOwnerSharingRule
  • DataUseLegalBasisOwnerSharingRule
  • DataUsePurposeOwnerSharingRule
  • ElectronicMediaGroupOwnerSharingRule
  • EmployeeOwnerSharingRule
  • EmployeeCrisisAssessmentOwnerSharingRule
  • EngagementChannelTypeOwnerSharingRule
  • ExternalAccountHierarchyOwnerSharingRule
  • FlowInterviewOwnerSharingRule
  • FulfillmentOrderOwnerSharingRule
  • GoalOwnerSharingRule
  • InternalOrganizationUnitOwnerSharingRule
  • JobProfileOwnerSharingRule
  • ListEmailOwnerSharingRule
  • LiveAgentSessionOwnerSharingRule
  • LiveChatTranscriptOwnerSharingRule
  • LocationOwnerSharingRule
  • LocationGroupOwnerSharingRule
  • MacroOwnerSharingRule
  • MacroUsageOwnerSharingRule
  • MaintenancePlanOwnerSharingRule
  • MaintenanceWorkRuleOwnerSharingRule
  • MessagingEndUserOwnerSharingRule
  • MessagingSessionOwnerSharingRule
  • MetricOwnerSharingRule
  • OrderSummaryOwnerSharingRule
  • OrderSummaryRoutingScheduleOwnerSharingRule
  • OrgDeleteRequestOwnerSharingRule
  • PartnerFundAllocationOwnerSharingRule
  • PartnerFundClaimOwnerSharingRule
  • PartnerFundRequestOwnerSharingRule
  • PartnerMarketingBudgetOwnerSharingRule
  • PartyConsentOwnerSharingRule
  • PendingServiceRoutingOwnerSharingRule
  • ProductMediaOwnerSharingRule
  • PersonListOwnerSharingRule
  • ProductItemOwnerSharingRule
  • ProductRequestOwnerSharingRule
  • ProductServiceCampaignOwnerSharingRule
  • ProductServiceCampaignItemOwnerSharingRule
  • ProductTransferOwnerSharingRule
  • ProfileSkillOwnerSharingRule
  • PromptActionOwnerSharingRule
  • PromptErrorOwnerSharingRule
  • QuickTextOwnerSharingRule
  • QuickTextUsageOwnerSharingRule
  • QuoteOwnerSharingRule
  • RecordsetFilterCriteriaOwnerSharingRule
  • ReturnOrderOwnerSharingRule
  • SOSSessionOwnerSharingRule
  • ScratchOrgInfoOwnerSharingRule
  • ServiceAppointmentOwnerSharingRule
  • ServiceContractOwnerSharingRule
  • ServiceCrewOwnerSharingRule
  • ServiceResourceOwnerSharingRule
  • ServiceTerritoryOwnerSharingRule
  • ShiftOwnerSharingRule
  • ShipmentOwnerSharingRule
  • SignupRequestOwnerSharingRule
  • SocialPostOwnerSharingRule
  • SurveyInvitationOwnerSharingRule
  • SurveyOwnerSharingRule
  • TimeSheetOwnerSharingRule
  • UserAppMenuCustomizationOwnerSharingRule
  • UserProvisioningRequestOwnerSharingRule
  • UserServicePresenceOwnerSharingRule
  • VoiceCallListOwnerSharingRule
  • VoiceCallOwnerSharingRule
  • VoiceCallQualityFeedbackOwnerSharingRule
  • VoiceCallRecordingOwnerSharingRule
  • VoiceCoachingOwnerSharingRule
  • VoiceMailContentOwnerSharingRule
  • VoiceMailGreetingOwnerSharingRule
  • VoiceMailMessageOwnerSharingRule
  • VoiceUserLineOwnerSharingRule
  • VoiceUserPreferencesOwnerSharingRule
  • VoiceVendorLineOwnerSharingRule
  • WebCartOwnerSharingRule
  • WishListOwnerSharingRule
  • WorkAccessOwnerSharingRule
  • WorkBadgeDefinitionOwnerSharingRule
  • WorkCapacityLimitOwnerSharingRule
  • WorkCoachingOwnerSharingRule
  • WorkFeedbackOwnerSharingRule
  • WorkFeedbackQuestionOwnerSharingRule
  • WorkFeedbackQuestionSetOwnerSharingRule
  • WorkFeedbackRequestOwnerSharingRule
  • WorkGoalOwnerSharingRule
  • WorkOrderOwnerSharingRule
  • WorkPerformanceCycleOwnerSharingRule
  • WorkPlanSelectionRuleOwnerSharingRule
  • WorkPlanTemplateOwnerSharingRule
  • WorkRewardFundOwnerSharingRule
  • WorkRewardFundTypeOwnerSharingRule
  • WorkRewardOwnerSharingRule
  • WorkStepTemplateOwnerSharingRule
  • WorkThanksOwnerSharingRule
  • WorkTypeGroupOwnerSharingRule
  • WorkTypeOwnerSharingRule

このモデルに準拠しないオブジェクト

次のオブジェクトは、関連する所有者共有ルールオブジェクトの標準パターンに従っていません。これらは、別途文書化されています。