摘要: //在登录界面增加一个AD验证方法 private static DirectoryEntry GetDirectoryObject(string userName,string userPwd) { DirectoryEntry entry = null; try { entry = new DirectoryEntry("LDAP://192.168.10.5:389/DC=ecera,DC=com,DC=tw", userName, userPwd, AuthenticationTypes.Secure); ... 阅读全文
posted @ 2013-04-01 10:40 LiTao9026 阅读(1299) 评论(0) 推荐(0) 编辑