Solved

asp.net c# changing sitemap based on role

Posted on 2009-04-10
4
519 Views
Last Modified: 2012-05-06
I am creating a web site that is role based.  I am using the XML sitemap tool to generate the menu and breadcrumb.  I can allow access and deny access according to roles, but I want to only show the part of the web.sitemap that is relevant for the user.  So if the user is an administrator, they will see the whole menu.  If they are a student, they will only see the student part.  Does anyone know how to configure the web.sitemap so that it only shows for the correct role?
0
Comment
Question by:Dukster131
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 15

Accepted Solution

by:
spprivate earned 500 total points
ID: 24116035
You can use 'roles' attributes to achieve this functionality.

Here is a link

http://aspnet.4guysfromrolla.com/articles/122805-1.aspx
0
 
LVL 1

Author Comment

by:Dukster131
ID: 24116225
Excellent.  That worked great.  Thanks so much.
0
 
LVL 1

Author Closing Comment

by:Dukster131
ID: 31568912
I had looked for this information through google, but had not found the information you referred me to.  Thanks so much that was exactly what I was looking for.
0
 
LVL 15

Expert Comment

by:spprivate
ID: 24116630
You are welcome.Happy programming
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question