Last post Aug 30, 2016 08:12 AM by Nan Yu
Aug 29, 2016 03:16 PM|joegreen2005|LINK
I'm new to MVC and studying this code. Can someone help me understand this code
http://tech.trailmax.info/2016/03/using-owin-and-active-directory-to-authenticate-users-in-asp-net-mvc-5-application/. Here are my questions:
I add the following code but do not see the username in the textbox. Not getting any errors.
public virtual ActionResult Index()
ViewBag.Username = System.Web.HttpContext.Current.User;
Aug 30, 2016 08:12 AM|Nan Yu|LINK
Please refer to the response on SO:
If that user don't solve your question or you have any further question , please let us know .