Hi all,
I have a ASP.NET project deployed in company domain, I need to implement single-sign on in it, it means when client pc opens this web site, system will get client user name and sign in automatic, the users from client were authenticated in domain.
Currently, I use following three ways to get client user name:
HttpContext.Current.User.Identity.NameThread.CurrentPrincipal.Identity.NameRequest.ServerVariables["logon_user"]
In IIS, if checked 'Anonymous Access', it will ignore the user information from client, and the three methdos above returned blank.
If unchecked 'Anonmous Access', whatever I did, i.e.: change authentication mode in web.config, add <allow users="*"/> section in it...system always prompted windows login form to sign in, but user has already authentica ...
Go to the complete details ...