Partajați prin


<Privilege> (FormXml)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Specifies a permission that a user must possess in order for the parent navigation item to be displayed in the form.

Syntax

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

Attributes and Elements

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

Attributes

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

Child Elements

This element has no child elements.

Parent Elements

Element

Description

<Privileges> (FormXml)

Contains the set of rights that a user needs in order for the navigation item to display in the form.

Element Information

Schema Type

complexType

Validation File

FormXml.xsd

Number of Occurrences

1 to 100000

XPath

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

See Also

Customize entity forms
Form XML reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright