Thanks, that's the type of thing I was looking for. Unfortunetly I still have a slight issue...
It works perfectly when I'm only allowing certain roles to the top hierarchy of the menu, so for example:
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > |
<siteMapNode title="Home" roles="Standard, Admin, Release"> |
<siteMapNode url="Default.aspx" roles="*"></siteMapNode> |
<siteMapNode url="" title="Users" roles ="Standard, Admin, Release"> |
<siteMapNode url="./UserManager/Login.aspx" title="User Management" roles="Admin" /> |
<siteMapNode url="AliasUser.aspx" title="Alias User" /> |
</siteMapNode> |
</siteMapNode> |
</siteMap> |
|
It works fine when I block everyone but standard users in the "Users" node which is currently set to Standard, Admin, Release.
But when I want the "User Management" page to only be seen by Admins within the Users node, it still shows that page to the other roles, it seems to override that with whatever you use in the top hierarchy...
Any ideas?