Link to home
Start Free TrialLog in
Avatar of Dukster131
Dukster131Flag for United States of America

asked on

asp.net c# changing sitemap based on role

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?
ASKER CERTIFIED SOLUTION
Avatar of spprivate
spprivate
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dukster131

ASKER

Excellent.  That worked great.  Thanks so much.
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.
You are welcome.Happy programming