whats the difference between Environment.UserName; and System.Security.Principal.WindowsIdentity.GetCurrent().Name;  and HttpContext.Current.User ?
As per my understanding HttpContext.Current.User returns Logged in user , System.Security.Principal.WindowsIdentity.GetCurrent().Name returns the identuty under which code is running. But What is the use of Environment.UserName; ?
 
     
    