I am using this line of code to get the username that the computer is logged into
String windosUser = System.Web.HttpContext.Current.User.Identity.Name;
but the result that I am getting is that the string is empty string.
I would like to see the name of the person that is logged on the computer not the actual name of the computer
Try this :-
If this doesn’t work I think it must be your IIS Settings, as It works fine for me.