I am trying to build an intranet application and I wanted to keep the
same login/password as in the domain network. Proceeding this way,
when I try to retrieve the user name I always get empty quotes. This
is the small code snippet I use on the initial Page Load.
System.Web.HttpContext context = System.Web.HttpContext.Current;
string abc = Context.User.Identity.Name;
Can anyone suggest if I am doing things the right way or any
references would also help.