SiteMap Menu and Roles
问题 I am trying to create a sitemap menu based on roles but when I add all the roles to the root menu and then just individual roles to the individual menu items, I always get everything within the menu. <?xml version="1.0" encoding="utf-8" ?> <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode url="" title="Menu" description="" roles="Role1;Role2;Role3"> <siteMapNode url="~/page1.aspx" title="" description="" roles="Role1;Role2;Role3"> </siteMapNode> <siteMapNode