Hello my fellow DaniWebers!
I have a question for you!
I have an ASP.Net website that I am currently working on. The problem that I am having is that I want to render the Master page's menu differently for the user types. Here is the catch. I can't use roles, only user names.
I have stared by creating different SiteMaps in the project, and Adding Multiple providers in the Web.config.
The menu is on the Master Page, and is bound with a SiteMapSource. This is a horizontal menu, and not a treeview. (Couple of Google results solved for a treeview.)
The question being; How do I bind the menu programmaticly on load by username? (AD Driven)
As far as I can tell:
User.Identity.Name
Is null for the master page, but I can pass the username in from the default page. (or the login page)
Thanks for any ideas/help!
I posted this in VB.NET because of the code backend, or should I flag to move the post to ASP.NET?