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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Metadata</strong> TypesBaseSharingRuleequalsJohnshareUsers2ReadshareUsers1South_America_DivisionAsia_DivisionshareUsers1ReadThe following shows a sample package.xml file.UserRuleUserCriteriaBasedSharingRule*UserMembershipSharingRule30.0BaseSharingRuleRepresents the base container for criteria-based and owner-based sharing rules. It extends the <strong>Metadata</strong> metadata type andinherits its fullName field.Note: You can’t create a BaseSharingRule <strong>com</strong>ponent directly. Use the <strong>com</strong>ponents under theCriteriaBasedSharingRule or OwnerSharingRule metadata types instead.VersionBaseSharingRule <strong>com</strong>ponents are available in <strong>API</strong> version 24.0 and later.FieldsFor more information on these fields, see “Overview of Sharing Settings” in the <strong>Database</strong>.<strong>com</strong> online help.FieldsharedTofullNameField TypeSharedTostringDescriptionRequired. 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, notend with an underscore, and not contain two165

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

Saved successfully!

Ooh no, something went wrong!