摘要: cn:姓名英文缩写,sn:姓,c:CN(国家),l:县市,st:省,title:职位,description:描述,postalCode:邮政编码,postOfficeBox:邮政信箱,physicalDeliveryOfficeName:办公室,telephoneNumber:电话号码,facsimileTelephoneNumber:传真,givenName:名,initials:英文缩写,distinguishedName:CN=姓名英文缩写,CN=Users,DC=aa,DC=bb,DC=com,displayName:姓名英文缩写,co:中国,department:部门,compan 阅读全文
posted @ 2011-05-06 16:21 China2008 阅读(351) 评论(0) 推荐(0)
摘要: 第一个类,获取AD实例类;AdHerlp.cspublic static class AdHerlp { #region 创建AD连接 /// <summary> /// 创建AD连接 /// </summary> /// <returns></returns> public static DirectoryEntry GetDirectoryEntry() { DirectoryEntry de = new DirectoryEntry(); de.Path = "http://www.cnblogs.com/IsNull/admin 阅读全文
posted @ 2011-05-06 16:09 China2008 阅读(312) 评论(0) 推荐(0)