How do I get the current username in .NET using C#?
Use:
System.Security.Principal.WindowsIdentity.GetCurrent().Name
That will be the logon name.