Salesforce Metadata API部署不推送系统权限

时间:2012-10-18 15:28:53

标签: salesforce

如何获取系统权限?

我正在为我们的公司构建Metadata deployment,部分部署包括创建几个新的配置文件。我们正在尝试捕获这些配置文件的所有权限,但似乎无法在我们的测试运行中获得匹配的系统权限。

我知道当你检索个人资料对象时,what you get is dynamic, based on what other object you are retrieving.(见第4章子弹2)

以下系统权限在我们的源环境和目标环境之间是不同的

Customize Application
Manage Connections
Manage Custom Report Types
Manage Dashboards
Manage Public Documents
Manage Public List Views
Manage Public Reports
Manage Public Templates
Manage Translation
Manage Users
Modify All Data
Reset User Passwords and Unlock Users
+ Send Email
Transfer Record
View All Data

注意:+表示已添加到目的地。所有其他人都迷失了。

1 个答案:

答案 0 :(得分:-2)

要使用Metadata API,用户必须具有“API Enabled”和“Modify All Data”权限。