摘要: 由于工作需要,我需要遍历AD进行一些同步操作. 遍历的代码如下. DirectorySearcher adSearcher = new DirectorySearcher(); Dictionary userConfigs = new Dictionary(); adSearcher.SearchRoot = new DirectoryEntry("LDAP://OU=组织架构,DC=*... 阅读全文
posted @ 2009-11-03 10:14 ~洛书~ 阅读(300) 评论(0) 推荐(0) 编辑