By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,469 Members | 1,026 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,469 IT Pros & Developers. It's quick & easy.

Menu Control, SiteMap, Security Trimming and Roles

P: n/a

I've got my site configured to use a menu control, a site map, security
trimming, and roles. Everything seems to be working, except I have the
following problem.

If I define a hierarchical menu in my sitemap as follows:

<siteMap ...>
<siteMapNode url="" title="Main Menu" description="" roles="*">
<siteMapNode url="" title="Reference Tables" description=""
roles="Admins,Power Users,Users">
<siteMapNode url="~/Admin/MaintainTable1.aspx" title="Table 1"
description="" roles="Admins, Power Users" />
<siteMapNode url="~/Admin/MaintainTable2.aspx" title="Table 2"
description="" roles="Users" />

.... removed


All the items in the Reference Tables menu item are displayed,
regardless of the logged in user's role. I would expect the first menu
item to be displayed when an Admin or a Power User logs in, and the
second menu item to be displayed when a User logs in. Am I wrong?

Obviously, this is a simplified version of my site map. I can't
separate the site map nodes out and use the same url with different
node lists. I get an exception when I do this.

What am I doing wrong?

Jan 9 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.