title: Can I get more than 1000 records from a DirectorySearcher?
body: <p>I just noticed that the return list for results is limited to 1000. I have more than 1000 groups in my domain (HUGE domain). How can I get more than 1000 records? Can I start at a later record? Can I cut it up into multiple searches?</p>
  
  <p>Here is my query:</p>
  
  <pre><code>DirectoryEntry dirEnt = new DirectoryEntry("LDAP://dhuba1kwtn004");
  string[] loadProps = new string[] { "cn", "samaccountname", "name", "distinguishedname" };
  DirectorySearcher srch = new DirectorySearcher(dirEnt, "(objectClass=Group)", loadProps);
  var results = srch.FindAll();
  </code></pre>
  
  <p>I have tried to set <strong>srch.SizeLimit = 2000;</strong>, but that doesn't seem to work. Any ideas?</p>