共用方式為


<Privilege> (SiteMap)

適用於: CRM 2015 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 變更應用程式導覽

其他資源

SiteMap XML reference

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