<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 |
請參閱
其他資源
Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.