Hi Deana,
I think that we need to update the link in the Windows Tech Database concerning the "LDAP Query Syntax" (http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/tsleft.web+WIL~Extenders/ADSI+LDAP~Query~Syntax.txt), the reference to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adsi/adsi/search_filter_syntax.asp (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adsi/adsi/search_filter_syntax.asp) is no more available.
I believe that the new one is http://msdn.microsoft.com/en-us/library/aa746475(v=vs.85).aspx (http://msdn.microsoft.com/en-us/library/aa746475(v=vs.85).aspx) , but I may be wrong.
Thanks Deana.
Hien
The following link is also interesting concerning userAccountControl
http://blogs.msdn.com/b/muaddib/archive/2008/10/08/query-individual-properties-of-the-useraccountcontrol-active-directory-user-property.aspx
Thank you! The tech article has been updated.