Using Filters

Usage: tool (--filter|-f)=<conditions> [options] <command> <object> <params>

<conditions are specified using an SQL-like syntax:

--filter="(<variable> like ''<pattern>'') AND (<variable> = ''<value>'')"

Example

tool --filter="((U_Name like ''John%'') OR (U_Name like ''George%'')) AND (U_AccountDisabled <> ''0'')" get account *@icewarpdemo.com U_Name'

NOTES:

If you are using file-system account storage you can use all API variables.

If you are using database account storage you can only use a subset of the API variables, based on the defined fields in the database.

You cannot use filter for domain variables, only for user variables.