Monday, 26 August 2013

Get Windows User ID in ASP.NET

Get Windows User ID in ASP.NET

pI have a ASP.NET application where an employee logs into Windows and then
they have to select their name from a long list of names and log in into
the application./p pWhat I want to do is as soon as the employee opens the
application it selects their name from the drop down box. /p pI believe if
I can get the Windows User Id on page load I can then make my code select
the user depending on the Windows user that is logged in./p pQuestion is.
How do you get Windows User Id that is currently logged in in C# Asp.net?
Any ideas./p

No comments:

Post a Comment