Newer Version Available

This content describes an older version of this product. View Latest

BaseSharingRule

Represents the base container for criteria-based and owner-based sharing rules. It extends the Metadata metadata type and inherits its fullName field.

You can’t create a BaseSharingRule component directly. Use the components under the CriteriaBasedSharingRule or OwnerSharingRule metadata types instead.

Note

Version

BaseSharingRule components are available in API version 24.0 and later.

Fields

For more information on these fields, see “Sharing Settings Overview” in the Salesforce online help.

Field Field Type Description
sharedTo SharedTo Required. Specifies who the record should be shared with.
fullName string The unique identifier for API access. The fullName can contain only underscores and alphanumeric characters. It must be unique, begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. This field is inherited from the Metadata component.