<MiscellaneousPrivilegeRule> (RibbonDiffXml)
应用到: CRM 2016 on-prem, CRM Online
指定可检测用户是否具有特定 Microsoft Dynamics CRM 权限的规则。
语法
<MiscellaneousPrivilegeRule
Default=["0" | "1" | "true" | "false"]
InvertResult=["0" | "1" | "true" | "false"]
PrivilegeDepth=["None" | "Basic" | "Local" | "Deep" | "Global"]
PrivilegeName="String"
/>
属性和元素
The following table lists the attributes, child elements, and parent elements.
属性
Attribute | Description | Type | Usage | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Default |
如果无法确定实际值,则设置规则的默认返回值。 |
Boolean |
Optional |
||||||||||
InvertResult |
对此规则的返回值求反。 |
Boolean |
Optional |
||||||||||
PrivilegeDepth |
The Privilege Depth to check. Valid values:
|
Enumeration |
Optional |
||||||||||
PrivilegeName |
The name of the privilege to evaluate. See Remarks. |
String |
Required |
子元素
此元素没有子元素。
父元素
Element | Description |
---|---|
指定用于显示功能区元素的规则定义或指定对命令定义中的 DisplayRule 的引用。 |
|
指定一组必须一起评估的规则。 |
备注
The string used to specify the privilege not associated with an entity. The PrivilegeName must correspond to a valid privilege name. See 权限映射的安全角色 UI. The privileges listed in that table include the prefix ‘prv’. Remove that prefix and use the remaining privilege name. For example, for the privilege name prvCreateEntity, just use CreateEntity.
For privileges associated with an entity use <EntityPrivilegeRule> (RibbonDiffXml).
元素信息
XPath |
|
Schema Name |
MiscellaneousPrivilegeRuleType |
Validation File |
RibbonTypes.xsd |
Can be Empty |
Yes |
另请参阅
其他资源
Ribbon XML reference
自定义命令和功能区
Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.