If you search for objects of a particular class, it seems logical that 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. Be aware that constructed attributes can be retrieved in query, but constructed attributes cannot be used in filters.
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
