如何使用Windows内置登录屏幕进行.Net应用程序身份验证 [英] How Can I Use Windows Built-In Login Screen For .Net Application Authentication

查看:89
本文介绍了如何使用Windows内置登录屏幕进行.Net应用程序身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

AOA



我想使用Windows内置登录屏幕为我的应用程序Winform和WPF。



问候

AOA

I want to use windows built-in Login Screen for my applications both Winform and WPF.

Regards

推荐答案

你不能。



你得到的是用户安全令牌。当用户启动您的应用程序时,它将作为用户启动,继承用户安全令牌。



令牌将传递给接受它的各种内容,例如当使用指定集成安全性的连接字符串并且服务器设置为使用Windows身份验证时,SQL Server登录。



也许如果您确切地指定了您要尝试的内容有人这样可以提出建议。
You can't.

What you get is the users security token. When the user launches your application, it is launched AS THE USER, inheriting the users security token.

The token is passed to various things that will accept it, such as a SQL Server login when using a connection string that specifies Integrated Security and the server is setup to use Windows Authentication.

Perhaps if you specified exactly what you're trying to do with this someone can suggest something.


感谢您的快速回复。



我不想使用自定义登录我创建的屏幕,我想通过使用操作系统登录屏幕从Active Directory验证我的应用程序。
Thanks for quick reply.

I don't want to use custom log on screen as i created, i want to authenticate my application from Active Directory by using the Operating System Log in Screen.


这篇关于如何使用Windows内置登录屏幕进行.Net应用程序身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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