Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Active Directory search

$
0
0

I am doing a directory search against a group with 1092 members. My code below only gets 1000 users. (I have a forest of domains)

DirectoryEntry root = new DirectoryEntry("GC://dc=me,dc=com");
DirectorySearcher searcher = new DirectorySearcher(root);
searcher.ReferralChasing = ReferralChasingOption.All;
searcher.Filter = "(&(objectClass=user)(memberOf=myGroup))";

What am I doing wrong?


Certified Geek



Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>