I have a custom MembershipProvider and a custom StaticSiteMapProvider. All of my user, role, and navigation data is stored in a SQL Server database. I want the navigation menu to be limited based off which user is logged in.
The user logs in using the standard Login control which communicates with my custom MembershipProvider. Once they are logged in the custom StaticSiteMapProvider builds the navigation menu.
Is there an easy way to fetch the logged in user name (from the MembershipProvder class) in the StaticSiteMapProvider class so that I can limit the menu?