<Privilege> (SiteMap)

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

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

语法

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

属性和元素

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

属性

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

子元素

This element has no child 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.

元素信息

Schema Name

Privilege

Validation File

SiteMapType.xsd

Number of Occurrences

0 or more

XPath

//SiteMap/Area/Group/SubArea/Privilege

另请参阅

概念

使用站点地图更改应用程序导航

其他资源

SiteMap XML reference

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