My user object has the property: IsAdministrator
Now I want to inject HTML on every page, so in my master page, only if the user is an administrator.
What is the best way to do this?
I was thinking of creating a user control, and then calling RenderPartial.
But I need to access the Request object to see if the user is authenticated, and if they are, to grab the user object from the cache and then check the IsAdminstrator property.
Help?