G
Guest
How would I get the current username using C# in an .ASPX web-app? I tried
System.Security.Principal.WindowsIdentity.GetCurrent().Name and this returns
'NT AUTHORITY\SYSTEM' I also tried System.Environment.UserName which just
returns 'SYSTEM'
What am I missing, or what should I do to get this to work?
Thanks
Andy
System.Security.Principal.WindowsIdentity.GetCurrent().Name and this returns
'NT AUTHORITY\SYSTEM' I also tried System.Environment.UserName which just
returns 'SYSTEM'
What am I missing, or what should I do to get this to work?
Thanks
Andy