Causes a <query> to be performed in the source or destination data store and returns the resulting <instance> elements.
The data store to search is specified by the data store.
The base of the query is specified by either <arg-dn> or <arg-association>. If neither are specified, then the base is the root of the data store.
The scope of the query is specified by query.
The class of the query is specified by class-name. If omitted the query looks for all classes.
The set of attributes to search for is specified by the <arg-match-attr> elements.
The set of attributes to return is specified by the <arg-string> elements. If no <arg-string> elements are specified then no attributes are read. If one of the <arg-string> evaluates to the asterisk character, then all attributes are read.
If max-result-count is specified, then <query-ex> is issued instead of a <query> and the results are returned in batches. When used in the context of a <do-for-each> subsequent batches (if any) are automatically retrieved.
<token-query scope="subordinates" class-name="User" datastore="dest"> <arg-dn> <token-text>Users/</token-text> <token-attr name="OU"/> </arg-dn> <arg-match-attr name="CN"/> <arg-match-attr name="L"/> <arg-value> <token-text>Provo</token-text> </arg-value> </arg-match-attr> <arg-string> <token-text>Surname</token-text> </arg-string> <arg-string> <token-text>Given Name</token-text> </arg-string></token-query>
(( arg-dn | arg-association ) ? , arg-match-attr * , arg-string * )