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> TypesPermissionSetDeclarative <strong>Metadata</strong> File Suffix and Directory LocationPermission sets are stored in the permissionsets directory. The file name matches the permission set <strong>API</strong> name and theextension is .permissionset. For example, a permission set with the name User_Management_Perms is stored inpermissionsets/User_Management_Perms.permissionset.VersionPermission sets are available in <strong>API</strong> version 22.0 and later.FieldsFieldclassAccessesdescriptionfieldPermissionslabelobjectPermissionsuserLicenseuserPermissionsField TypePermissionSetApexClassAccess[]stringPermissionSetFieldPermissions[]stringDescriptionIndicates which top-level Apex classes have methodsthat users assigned to this permission set can execute.Available in <strong>API</strong> version 23.0 and later.The permission set description. Limit: 255 characters.Indicates which fields are accessible to a user assignedto this permission set, and the kind of access available(readable or editable). Available in <strong>API</strong> version 23.0and later.The permission set label. Limit: 80 characters.PermissionSetObjectPermissions[] Indicates the objects that are accessible to a userassigned to this permission set, and the kind of accessavailable (create, read, edit, delete, and so on).Available in <strong>API</strong> version 23.0 and later.stringPermissionSetUserPermission[]The User License for the permission set. A userlicense entitles a user to different functionality within<strong>Database</strong>.<strong>com</strong> and determines which profiles andpermission sets are available to the user.Specifies an app or system permission (such as “<strong>API</strong>Enabled”) and whether it's enabled for thispermission set. In <strong>API</strong> version 28.0 and earlier, thisfield retrieves all user permissions, enabled ordisabled. In <strong>API</strong> version 29.0 and later, this fieldretrieves only enabled user permissions.PermissionSetApexClassAccessPermissionSetApexClassAccess represents the Apex class access for users assigned to a permission set.FieldapexClassenabledField TypestringbooleanDescriptionRequired. The Apex class name.Required. Indicates whether users assigned to this permissionset can execute methods in the top-level class (true) or not(false).PermissionSetFieldPermissionsPermissionSetFieldPermissions represents the field permissions for users assigned to a permission set. In <strong>API</strong> version 30.0and later, permissions for required fields can’t be retrieved or deployed.127

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

Saved successfully!

Ooh no, something went wrong!