title: GetAllUsers issue, ignore subordinated OUs
body: <p>Im trying to make an Active-Directory Management tool for my company and i want to get all Users from a specific OU, without getting Results of the under(?)-OU.</p>
  
  <p>The structure is like this:</p>
  
  <pre><code>-&gt;XXXX.de
  
  --&gt;Germany
  
  ---&gt;Users (Here are the Users i want to get)
  
  (These are the unnecessary OUs / Results)
  
  ----&gt; Administrative accounts
  
  ----&gt; Other Accounts
  </code></pre>
  
  <p>My LDAP-Link (ldapPath) for the DirectorySearcher is </p>
  
  <pre><code>"LDAP://OU=Users,OU=Germany,DC=XXXX,DC=de".
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>public SearchResultCollection getAllUsers(string location)
  {
      string ldapPath;
  
      SearchResultCollection allResults;
  
      try {
  
          ldapPath = getLdapPathFromLocation(location);
  
          DirectoryEntry entry = createDirectoryEntry(AD_BWFE, ldapPath);
  
          DirectorySearcher searcher = new DirectorySearcher(entry);
  
          searcher.PropertiesToLoad.Add("cn");
          searcher.PropertiesToLoad.Add("sAmAccountName");
  
          allResults = searcher.FindAll();
  
          return allResults;
      }
  </code></pre>