简体   繁体   English

使用身份验证窗口更改用户

[英]Change user with authentication windows

In web.config, I am using: 在web.config中,我正在使用:

<authentication mode="Windows"/> 

to connect my user. 连接我的用户。 The authentication is automatic. 身份验证是自动的。 But sometimes, I need to change the user account. 但有时,我需要更改用户帐户。

How can I open the authentication window of my web browser on a button click? 单击按钮后如何打开Web浏览器的身份验证窗口?

Another SO topic show that you have to use forms authentification to be able to logout... 另一个SO主题表明,您必须使用表单身份验证才能注销...

See the topic 查看主题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM