Windows通过MFC应用程序登录 [英] Windows Login Through MFC Application

查看:124
本文介绍了Windows通过MFC应用程序登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过我的应用程序验证Windows的用户凭据?我只需要验证用户是否提供有效的用户名和密码。此用户名和密码应该是他登录特定域的窗口的凭据。提前谢谢。

How do I validate user credentials of windows through my application? I just need to validate that the user is providing valid username and password.This user name and password should be his log in credentials of windows for particular domain.Thanks in advance.

推荐答案

您需要使用 LogonUser [ ^ ]功能。使用最少的参数非常容易。它可以用于域用户
You need to use LogonUser[^] function. It is very easy to use with a minimum parameters. It can be used for a domain user


这篇关于Windows通过MFC应用程序登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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