User-413967383 posted
I want to retrieve the network user login id in an INTRANET environment. Is this possible? If that is not possible can I retrieve the computer name the network user is logged on to? We use Active Directory.
User1354132231 posted
If you are in an ASP.NET application, you must be using Integrated Windows Authentication with Anonymous access denied. From there, the user's name is available as Context.User.Identity.Name
Getting the computer name of the user requires using WMI most likely and would not work well with web apps.