Using VS2010, AspNet4, C#, sqlserver2008r2
I have in my web application .aspx, a sitemap, use class membership, role, the sitemap mounts the menu according to the user's permission. Work ok
?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="Default.aspx" title="Principal" description="Principal">
. . .
</siteMapNode>
</siteMap>
-----------
on the Web.Config:
<roleManager enabled="true" cacheRolesInCookie="true" defaultProvider="SqlRoleManager">
<providers>
<clear/>
<add connectionStringName="MaisSeguranca" applicationName="" name="SqlRoleManager" type="System.Web.Security.SqlRoleProvider"/>
&l ...
Go to the complete details ...