检索用户的专有名称 [英] Retrieve Distinguished Name Of User
本文介绍了检索用户的专有名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
我的任务是编写密码过滤器(请参阅:PasswordChangeNotify()),其中一项要求是检索用户的专有名称(例如," CN = John Doe,OU = Users,DC = Somewhere,DC = Local").
我要如何做到呢?
干杯,
马特.
推荐答案
哪种技术?例如,在.net中,您可以使用 System.Security.Principal.WindowsIdentity.GetCurrent().Name
问候,
Pawel
Hi,
In which technology? In .net for example you can use System.Security.Principal.WindowsIdentity.GetCurrent().Name
Regards,
Pawel
这篇关于检索用户的专有名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文