DirectorySearcher - Clauses and keywords for search
Hi All,I am very new to working Active directory. After spending some time on web i was able to get code for getting users from active directory using DirectorySearcher class. However i am facing hard time in getting a list of all supported clauses and keywords of search.
The only link i was able to get is https://msdn.microsoft.com/en-us/library/aa746475(v=vs.85).aspx. But got only few keywords.
Kindly share links / list of keywords and clauses. Below are some i found;
&(objectClass=user)
(objectCategory=person)
(manager=...)
(!msExchResourceMetaData=ResourceType:Room)
(!userAccountControl:1.2.840.113556.1.4.803:=2))
Also i tried creating a org chart using Visio and then with DirectorySearcher code. The visio files excludes virtual accounts such as feedback@abc,.com, meeting rooms, etc. but my Directory searcher code get them as welFrown . Kindly help.