In LogIn method I have:
FormsAuthentication.SetAuthCookie(model.User, false);
and to get name of this user we use
User.Identity.Name
Is possible to get for example type account from databese?
I mean, during when user is Loging, type account is send (to cookie?). And use this type in view using something like User.Identity.Name without using controller. Is possible to do something like that?