12.07.2015 Views

Database.com Metadata API Developer's Guide - Salesforce.com

Database.com Metadata API Developer's Guide - Salesforce.com

Database.com Metadata API Developer's Guide - Salesforce.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Metadata</strong> TypesOwnerSharingRuleG2New_R1NewNoneAccountCriteriaG1BillingCityequalsSan FranciscoMyChkBox__cnotEqualFalseRead1 OR 2NoneReadAccountCriteriaNoneOwnerSharingRuleRepresents an ownership-based sharing rule. OwnerSharingRule enables you to share records owned by a set of users withanother set, using rules that specify the access level of the target user group. It extends the BaseSharingRule metadata typeand inherits its SharedTo field. For more information, see “Sharing Rules Overview” in the <strong>Database</strong>.<strong>com</strong> online help.Note: You can’t create a OwnerSharingRule <strong>com</strong>ponent directly. Use the child <strong>com</strong>ponents instead.Declarative <strong>Metadata</strong> File Suffix and Directory LocationOwnerSharingRules <strong>com</strong>ponents are stored within the SharingRules <strong>com</strong>ponent in the ownerRules field.VersionOwnerSharingRules <strong>com</strong>ponents are available in <strong>API</strong> version 24.0 and later.FieldsThe following information assumes that you are familiar with implementing sharing rules for standard objects and customobjects. For more information on these fields, see “Overview of Sharing Settings” in the <strong>Database</strong>.<strong>com</strong> online help.FieldsharedFromsharedTofullNameField TypeSharedToSharedTostringDescriptionRequired. Specifies the record owners.Required. Specifies who the record shouldbe shared with.The unique identifier for <strong>API</strong> access. ThefullName can contain only underscores andalphanumeric characters. It must be unique,begin with a letter, not include spaces, not168

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!