开发者

Setting role in SiteMapNode Sub Node

These Site Map Node is in Web.Config

<siteMapNode title="Hotel Setup" roles="Administrator,Hotel Admin">
  <siteMapNode url="~/Page/HotelSetup/RoomTypeManagement.aspx" title="Room Types" />
  <siteMapNode开发者_运维百科 url="~/Page/HotelSetup/AddOns/AddOnCategoryProperties.aspx" title="Add On Categories" />
  <siteMapNode url="~/Page/HotelSetup/AddOn.aspx" title="Add Ons" />
  <siteMapNode url="~/Page/HotelSetup/Package.aspx" title="Packages" />     
  <siteMapNode url="~/Page/PriceTools/Promotion.aspx" title="Promotions" />
  <siteMapNode url="~/Page/PriceTools/PromotionAddOn.aspx" title="AddOns Incentive" />
  <siteMapNode url="~/Page/SupportAdmin/TranslationProperty.aspx" title="Translations" />
</siteMapNode>

Is there anyway to made some sub sitemapnode in hotel setup can be accessed only by administrator but not hotel admin ?


Problem solved, it need to be set in location path

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜