Thursday, July 25, 2013

MVC 4 user/role management on Intranet

Starting out and was trying to get at HttpContext.Current.Identity.Name.  Dug around and found some very helpful blogs

1.) http://stackoverflow.com/questions/1335571/asp-net-mvc-how-to-use-httpcontext-user
 (MVC)                               (ASP.Net)
User.Identity.Name = HttpContext.Current.Identity.Name

No comments:

Post a Comment