This project is read-only.

How can i get the username of the authenticated user?

Aug 4, 2010 at 3:14 PM


Thanks for this tool it is very helpful.

I am developing a filter that processes all request based on the url and the authenticated user, but i can't seem to find the user the is authenticated in the thread that is processing the request.

im trying like this:

String username = WindowsIdentity.GetCurrent().Name;  -> this gives me the NT_AUTHORITY\SYSTEM

How can i get the username for the NTLM authenticated user?


Thanks in advance.

Best Regards,