Platform SDK: Active Directory, ADSI, and Directory Services |
If you are searching for objects of a particular class, it only makes sense if you retrieve attributes that actually exist on the objects of that class. Follow the same rules discussed in Finding a List of Attributes To Query. Note that constructed attributes can be retrieved in query — but constructed attributes cannot be used in filters.