|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
ASP.NET logging as different user using window authentication mode
Hi All,
In ASP.Net web application how can I login as a different user, if authentication method is windows? Let me explain the scenario. I used windows authentication mode in web.config file as below and changed the settings in IIS server. I have changed the authentication method to integrated windows authentication and disabled other methods. <authentication mode="Windows" /> It is working fine. But to login as different user then i have logout of windows and login with other username and password. So without logging out of windows, I need to login as different user from asp.net webpage providing username , password and domain in webpage itself. Can any one plese help me out, this is very urgent. Thanks |
|
#2
|
|||
|
|||
|
I think how it works is if you're logged into windows with an account that has access to the website, then it will automatically pull those credentials. If you're not then it will prompt you to login.
Try logging in as a user that doesn't have access to the site and see what comes up. I would also try accessing from a seperate computer instead of locally, also. |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > ASP.NET logging as different user using window authentication mode |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|