title: Query ADAM/ADLDS for disabled accounts
body: <p>I am trying to use the DirectorySearcher from .Net to query for disabled users.</p>
  
  <p>I am using a fairly fast list function very similar to the one posted here.
  <a href="http://www.netid.washington.edu/documentation/enumeratingLargeGroups.aspx" rel="nofollow">Enumerating Large Groups With Active Directory</a>.</p>
  
  <p>I have tried changing the filter to </p>
  
  <p><code>(&amp;(objectCategory=person)(userAccountControl:1.2.840.113556.1.4.803:=2))</code></p>
  
  <p>I get no results. It seems that I cannot use the DirectorySearcher in this manor. Has anyone done anything like this. I just need basic info and would prefer a lightweight/fast query.</p>