Here is my web config file:
HERE IS MY INDEX ACTION
public ActionResult Index()
{
var requestContext = new RequestContext();
string ntLogin = requestContext.HttpContext.User.Identity.Name
}
HERE IS THE ERROR I GET:
Object reference not set to an instance of an object.
What is it that I'm doing wrong. I want to get the user login and password from Active Directory in my organization intranet. What do I need to do next. Please help out.
Thanks
tola IbironkePosted Sep 26, 2014, 11:32 AM
karthik APosted Sep 26, 2014, 11:27 AM
view page also show ..
after tell this answer