我们如何在不提供密码的情况下检查用户是否存在于活动目录中 [英] how can we check the user exists in active directory without giving the password
本文介绍了我们如何在不提供密码的情况下检查用户是否存在于活动目录中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个活动目录.
我检查了
I have an active directory.
I checked with
Dim path As String = "LDAP://196.1.1.253" & "/DC=Ajcserver"
Dim entry As New DirectoryEntry(path)
但它没有创建对象.请帮助我.
but it didn''t create an object. Please help me.
推荐答案
尝试一下
Try this
DirectoryEntry entry = new DirectoryEntry("LDAP://DomainName");
这篇关于我们如何在不提供密码的情况下检查用户是否存在于活动目录中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文