<Privilege> (FormXml)

应用到: CRM 2016 on-prem, CRM Online

指定用户必须拥有的权限,以便在窗体中显示父导航项。

语法

<Privilege 
 Entity="String"
 Privilege=["Read"|"Write"|"Append"|"AppendTo"|"Create"|"Delete"|"Share"|"Assign"|"All"|"AllowQuickCampaign"|"UseInternetMarketing"]
 />

属性和元素

The following describes the attributes, child elements, and parent elements.

属性

Attribute Description Type Usage

Entity

Specifies the name of the entity to check privileges for.

String

Required

Privilege

The privilege to check.

Valid values include:

  • Read

  • Write

  • Append

  • AppendTo

  • Create

  • Delete

  • Share

  • Assign

  • All

  • AllowQuickCampaign

  • UseInternetMarketing

Multiple values can be used as long as they are separated by a comma and do not contain spaces.

String

Required

子元素

此元素没有子元素。

父元素

Element Description

<Privileges> (FormXml)

包含用户在窗体中显示导航项所需的权限集。

元素信息

Schema Type

complexType

Validation File

FormXml.xsd

Number of Occurrences

1 to 100000

XPath

//FormXml/forms/systemform/form/Navigation/NavBar/NavBarByRelationshipItem/Privileges/Privilege

另请参阅

概念

自定义实体窗体

其他资源

Form XML reference

Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.