I have a Website that uses 2 different Master pages. Administrators get given the Admin.master and the Customer is given the cust.master. This is working correctly. I have then a different sitemap for each of the Master pages. I want to be able to either disable or remove menu items from the menu at runtime. Ie Customer X does not have access to the warehouse module so the Warehouse Menu Item is either disabled or removed completely.
Is there a way that I can do this? I thought I could use something like onDataBound event and check the Menu options against the security rights. I am not using Security trimming and have my own security table that controls access to certain modules.
Failing this I was thinking of perhaps setting the different sitemaps at runtime however I would then need to have a sitemap for each module.