---
schema_version: "1"
id: 4d068b83466af3034bb83e60901965d0bda63405133f5adef3849a455f88aa71
title: AccountRelationhipShareRule
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/financial_services_cloud_object_reference/fsc_account_relationship_share_rule.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/fsc_account_relationship_share_rule.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 6e73878a0afffca42a40d854a105841a113d7bea681123be1c60ed5099dccc96
description: Represents the rule that determines which object records are shared, how they are shared, the account relationship type that shares the records, and the level of access granted to the records.
---
# AccountRelationhipShareRule

Represents the rule that determines which object records are shared, how they are shared, the account relationship type that shares the records, and the level of access granted to the records.

This type extends the [MetadataWithContent](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/meta_metadatawithcontent.htm) metadata type and inherits its content and fullName fields.

The FSC Insurance permission set in Financial Services Cloud exposes additional values for the accountToCriteriaField and entityType fields on the AccountRelationshipShareRule metadata type.

## accountToCriteriaField

- **Field Type**: string
- **Description**: Criteria that must be met for the data to be shared. This field shows these additional values for Insurance for Financial Services Cloud.
    - BusinessMilestone.OwnerId
    - BusinessMilestone.PrimaryAccountId
    - Claim.AccountId
    - Claim.OwnerId
    - CustomerProperty.OwnerId
    - CustomerProperty.PrimaryOwnerId
    - InsurancePolicy.NameInsuredId
    - InsurancePolicy.OwnerId
    - PersonLifeEvent.OwnerId

## entityType

- **Field Type**: string
- **Description**: The type of data shared by this rule. This field shows these additional values for Insurance for Financial Services Cloud.
    - BusinessMilestone
    - Claim
    - CustomerProperty
    - InsurancePolicy
    - PersonLifeEvent

#### See Also

- [_Metadata API Developer Guide_: AccountRelationshipShareRule](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/meta_accountrelationshipsharerule.htm "Metadata API Developer Guide:
    AccountRelationshipShareRule - HTML (New Window)")