Megosztás a következőn keresztül:


<Privilege> (SiteMap)

 

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

Controls whether a subarea is displayed based on privileges available in any security roles assigned to the user.

Syntax

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

Attributes and Elements

The following table lists the attributes, child elements, and parent elements.

Attributes

Attribute

Description

Type

Usage

Entity

Specifies the name of the entity to check privileges for. A valid value has a length greater than 1.

String

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

Child Elements

This element has no child elements.

Parent Elements

Element

Description

<SubArea> (SiteMap)

Specifies a navigation option within an Area. Defines what is displayed in the main pane of the application when selected.

Element Information

Schema Name

Privilege

Validation File

SiteMapType.xsd

Number of Occurrences

0 or more

XPath

//SiteMap/Area/Group/SubArea/Privilege

See Also

Change application navigation using the SiteMap
SiteMap XML reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright