域中搜索用户email
摘要:
static public string GetEmailByUserID(string user_id, string pwd, string neededUser_ID) { string email = ""; DirectoryEntry entry = new DirectoryEntry("LDAP://zone1.scb.net", user_id, pwd); DirectorySearcher searcher = new DirectorySearcher(entry); searcher.Filter = "(SAMAcc 阅读全文
posted @ 2011-03-31 15:08 catvi 阅读(567) 评论(0) 推荐(0) 编辑