[导入]怎样通过我的domain名称,得知我的group [转帖自ASPCool站]
摘要:
首先你要知道自己用户的AD Path,例如LDAP://Domain.com/CN=user1,CN=Users,DC=domain,DC=com 然后使用System.DirectoryServices.DirectoryEntry就可以取得对应的AD对象了,其中的"memberof"属性就是用户所在的group的列表。 You can have a look with the sample i... 阅读全文
posted @ 2004-12-11 23:31 Wu.Country@侠缘 阅读(216) 评论(0) 推荐(0)
浙公网安备 33010602011771号