Windows Domainuser while using forms authentication

Last Reply 10 days ago By dharmendr

Posted 14 days ago

I need to get the username and the domain in my  application when the configuration has authentication mode as windows.  (it is very important the auhtentication mode is forms)


How can i access the username and domain of the machine used in when it is using forms authentication?

You are viewing reply posted by: anvina 12 days ago.
Posted 12 days ago Modified on 12 days ago

In the question under the link sent by you the authentiction mode is windows so it is easy to get the domain and username logged oon the domain machine.


The solution of impersonate true does not work for me because of the forms authentication probably in my config..


Previously it used to return Network Service now with impersonation  it is returning IUSER


I agree, here is the link: