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>
Element |
Description |
---|---|
Association argument. |
|
DN argument. |
|
Matches the attribute argument. |
|
String argument |
Attribute |
Possible Values |
Default Value |
---|---|---|
class-name |
CDATA The class name of the query. Supports variable expansion. |
#IMPLIED |
datastore |
src | dest The data store to be queried. |
dest |
max-result-count |
CDATA The maximum number of results to return per batch. |
#IMPLIED |
notrace |
true | false True if this element should not be traced during execution of the policy. |
false |
scope |
entry | subordinates | subtree The scope of the query. |
subtree |
(( arg-dn | arg-association ) ? , arg-match-attr * , arg-string * )
Element |
Description |
---|---|
Association argument. |
|
Component argument. |
|
DN argument. |
|
Node set argument. |
|
Password argument. |
|
String argument. |
|
Value argument. |
|
Decode base64 data into a string. |
|
Encode a string into base64 data. |
|
Convert a data/time from one format to another format. |
|
Convert a string for use in the destination DN. |
|
Convert a string for use in a source DN. |
|
Join a node set into a string. |
|
Convert a string to lowercase. |
|
Map a string through a mapping table. |
|
Parses or converts a DN. |
|
Replaces all instances of a substring with a string. |
|
Replaces a single instance of a substring within a string. |
|
Splits a string into a node set. |
|
Substring of a string. |
|
Converts a string to uppercase. |
|
Parses XML. |
|
Serializes XML. |