使用Windows身份验证注销MVC3 C#应用程序 [英] Logout MVC3 C# application with Windows Authentication

查看:116
本文介绍了使用Windows身份验证注销MVC3 C#应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Windows身份验证的应用程序MVC3。一切工作正常,但我似乎无法找到一个方法来注销。我已阅读,我必须使用窗体身份验证与AD模拟,因为我还是想从广告访问的GUID。有没有其他人发现了一个不同的方法来做到这一点。

I have made an mvc3 application with Windows Authentication. Everything works fine but I can't seem to find a way to log-out. I have read that I have to use forms Authentication with AD impersonation, because I still want to access the guid from the ad. Has anyone else found a different method to do this.

推荐答案

有一个的 JavaScript解决方案才能做到这一点。否则,我不知道,它可以不带模拟来完成,或者使用 FormsAuthentication 选项。

There is a Javascript solution in order to do this. Otherwise, I'm not sure that it can be done without impersonation or use the FormsAuthentication option.

这篇关于使用Windows身份验证注销MVC3 C#应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆