I need to get know how SiteMapProvider.IsAccessibleToUser()
works.
Built-in XmlSiteMapProvider
calls HttpContext.User.IsInRole()
which uses System.Security.Principal.GenericPrincipal
in case of forms authentication.
Where does the current user gets its roles? Which provider loads this kind of information? I want to overload it and use custom logic.