ADSI

 

System.DirectoryServices.DirectoryEntry de = new System.DirectoryServices.DirectoryEntry(
            txtUrl.Text,
            txtUser.Text,
            txtPassword.Text,
            authenticationTypes
            );

 

似乎用户名密码,是验证ADSI 的,只要填写登陆的用户名就可以了,CN=用户名似乎也可以,单纯的让系统验证用户名密码,似乎这就可以了,不要再查找什么用户了。

posted on 2009-07-30 11:12  聪明的大熊  阅读(277)  评论(0编辑  收藏  举报