SSO Detection code and configuration IIS, C#, ASP.NET

From my understanding, if a user login to a PC using the Domain Username & Password, all the company website that he surf will be able to make use of the SSO function if the website is hosted in IIS and developed using .NET Framework. (Do correct me if I have mis-understand).However, if the user login to the PC using the Local machine username & password, the user will have to type his/her domain account (username + password) when he/she visit the company website.So, my question is how do I code in order to detect the above behavior? (which mean that if the user login using domain account, the user will not need to type username and password again. However, if he login to the PC using local account, he will need to type his/her domain username and password when login to the website)Also, do I need to go into the Web.config file in the Web Application project (Microsoft Visual Studio) to setup the configuration or/and also going to the IIS and setup some configuration too?
 
Back
Top