Get Windows logged-in Username ASP .net
问题 I have an application deployed on IIS 8 having forms authentication mode. Now there is a requirement where business wants to show a popup message and create an audit log if the Windows User and the Application user is different. For this I want to get the Windows Logged in user on logincontrol of the applicaiton. I have tried many ways but nothing is helping. Please guide me if it is possible or not. Guys anyone.. Please help me... 回答1: I use this site as a reference: http://richhewlett.com