从Windows登录会话中提取UPN的API [英] API to extract the UPN from a windows logon session
本文介绍了从Windows登录会话中提取UPN的API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我正在使用Windows登录,即使用NTLM身份验证登录的域\用户名.
在对用户进行身份验证并创建会话后,我想提取
是否可以使用API提取该用户?
,谢谢,
Richa.
Hi All,
I am using windows logon i.e., domain\username for logging in using NTLM authentication.
After the user is authenticated and session is created, I want to extract the UPN for that user.
Is there a way possible to extract it using an API?
Thanks,
Richa.
推荐答案
我找到了用于获取UPN的函数GetAuthDataUser.可以在上述情况下使用它吗?有人可以在上面指出一些很好的例子吗?
I found a function GetAuthDataUser for getting the UPN. Can it be used in the above context and can someone point to some good example on it?
这篇关于从Windows登录会话中提取UPN的API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文