I've setup a simple asp:Menu control which uses a web.sitemap for the links. I've setup a GenericPrincipal object for my logged in user which contains their roles (marketing, finance, IT, etc) which is populated by looking in the database for that userid. One user can be in many roles. I now need to add a 'sales' role and I need to restrict the menu links for that role. I started to read about the security trimming, but it seems that works with a different type of role (system.web.security) that I have in my GenericPrincipal (system.security.principal). Can I use security trimming with my GenericPrincipal roles?
Thanks
Thanks