asp.net c# changing sitemap based on role
Posted on 2009-04-10
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?