LDAP或ADS组列表. [英] LDAP or ADS List of Groups.
本文介绍了LDAP或ADS组列表.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好.我可以获取属于用户的组名称,但是如何获取ADS或LDAP完整的组列表位于公司域下... 请帮助我.
Hi..I can get the Group names that belongs to a user but How to get ADS or LDAP complete Group list comes under the company domain...Please help me.
推荐答案
在DirectorySearcher中,使用类似
的过滤器
(&(objectCategory = group)(objectClass = group)(cn = *))
In your DirectorySearcher, use a filter like
(&(objectCategory=group)(objectClass=group)(cn=*))
访问此链接
http://engthunder.wordpress.com/2011/10 /12/active-directory-utility-class-for-web-developers/ [
visit this link
http://engthunder.wordpress.com/2011/10/12/active-directory-utility-class-for-web-developers/[^]
这篇关于LDAP或ADS组列表.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文