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> TypesProfileCustomTabJob_Request__cCustomObjectJobApps__RecruitingCustomApplicationRecruiting.DevManagerRecordType*PermissionSet30.0ProfileRepresents a user profile. A profile defines a user's permission to perform different functions within <strong>Database</strong>.<strong>com</strong>. It extendsthe <strong>Metadata</strong> metadata type and inherits its fullName field.In <strong>API</strong> version 29.0 and later, you can retrieve and deploy access settings for the following managed <strong>com</strong>ponents in profilesand permission sets:• Apex classes• Custom field permissions• Custom object permissions• External data sourcesFor more information, see Managed Component Access in Sample package.xml Manifest Files on page 18.Declarative <strong>Metadata</strong> File Suffix and Directory LocationThe file suffix is .profile. There is one file for each profile, stored in the profiles folder in the corresponding packagedirectory.VersionProfiles are available in <strong>API</strong> version 10.0 and later.FieldsThe content of a profile returned by <strong>Metadata</strong> <strong>API</strong> depends on the content requested in the RetrieveRequest message. Forexample, profiles only include field-level security for fields included in custom objects returned in the same RetrieveRequestas the profiles. The profile definition contains the following fields:Field NameclassAccessescustomField TypeProfileApexClassAccess[]booleanDescriptionIndicates which top-level Apex classes have methodsthat users assigned to this profile can execute.Indicates whether the profile is a custom (true) orstandard (false) profile. Available in <strong>API</strong> version30.0 and later.130

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

Saved successfully!

Ooh no, something went wrong!