Privilege Element (SiteMap)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Controls whether a subarea is displayed for a given user.

Element Information

Number of occurrences 0 or more per SubArea element.
Parent elements SubArea
Child elements None
XPath //SiteMap/SiteMap/Area/Group/SubArea/Privilege

Attributes

Name Description Type Required
Entity Specifies the name for the entity. String Yes
Privilege Specifies the privileges needed to display this subarea.

Valid values:

A comma-separated list that has no spaces, made up of these possible values:

All
AllowQuickCampaign
Append
AppendTo
Assign
Create
Delete
Read
Share

UseInternetMarketing
Write

String No

Note:

The Privilege value "UseInternetMarketing" is applicable to Microsoft Dynamics CRM Online only.

Example

The following shows an example of a privilege. The privilege element will prevent users without the ability to read, write, and create knowledge base articles from seeing the subarea.

<SubArea Id="nav_managekb" ResourceId="Homepage_KBManager"
         Icon="/_imgs/ico_18_126.gif" Url="/cs/home_managekb.aspx" 
         Client="Web">
   <Privilege Entity="kbarticle" Privilege="Read,Write,Create" />
</SubArea>

© 2010 Microsoft Corporation. All rights reserved.