摘要:
//在登录界面增加一个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); ... 阅读全文