h1. {anchor:ACFFB} commadmin domain search
The {{commadmin domain search}} command obtains all the directory properties associated with domains.
* If no domain is specified with {{-d}}, all domains will be displayed.
* To obtain all the directory properties for multiple domains, use the {{–i}} option.
* When {{–S}} is specified in this command, only the domains having active specified services are displayed.
h2. {anchor:ACFFC} Syntax
{panel}
{{commadmin domain search –D _login_ –n _domain_ –w _password_ [–d _domain_] [–h] [–?]}}
{{ [–i _inputfile_] [–p _AM port_] [–s] [–S _service_] [–t _Search Template_] [–v] [–V]}}
{{ [–X _AM host_]}}
{panel}
h2. {anchor:ACFFD} Options
The following options are mandatory:
||Option ||Description ||
|{{-D}} _login_|The user ID of the user with permission to execute this command.|
|{{-n}} _domain_|The domain of the user specified with the {{-D}} option.|
|{{-w}} _password_|The password of the user specified with the {{-D}} option.|
The following options are non-mandatory:
||Option ||Description ||
|{{-d}} _domain_|Search for this domain. If {{-d}} is not specified or {{-d*}} is specified, all domains are displayed.|
|{{-h}}, {{–?}}|Prints command usage syntax.|
|{{-i}} _inputfile_|Reads the command information from a file instead of the command line.\\
\\An option value specified in the input file overrides any value for the same option set in the command line.|
|{{-p}} _AM port_|Specifies an alternate TCP port where the Access Manager is listening. If not specified, the default _AM port_ is used, or Port 80 is used if no default was configured at install time.|
|{{-s}}|Use SSL (Secure Socket Layer) to connect to the Access Manager.|
|{{-S}} _service_|Specifies the services to be searched in the active domains.\\
\\ _service_ can have the value of a single service or multiple services. The valid _service_ values are {{mail}}, {{cal}}, and {{im}}. These values are case-insensitive.\\
\\The list of services is separated by the comma (,) delimiter.\\
\\For Example:\\
\\ {{-S mail,cal,im}}|
|{{-t}} _Search template_|Specifies the name of the search templates to be used instead of the default search templates. Only active domains are displayed after the search.|
|{{-v}}|Enable debugging output.|
|{{-V}}|Prints information about the utility and its version.|
|{{-X}} _AM host_|Specifies the host on which the Access Manager is running. If not specified, the default _AM host_ is used, or the localhost if no default was configured at install time.|
The {{commadmin domain search}} command obtains all the directory properties associated with domains.
* If no domain is specified with {{-d}}, all domains will be displayed.
* To obtain all the directory properties for multiple domains, use the {{–i}} option.
* When {{–S}} is specified in this command, only the domains having active specified services are displayed.
h2. {anchor:ACFFC} Syntax
{panel}
{{commadmin domain search –D _login_ –n _domain_ –w _password_ [–d _domain_] [–h] [–?]}}
{{ [–i _inputfile_] [–p _AM port_] [–s] [–S _service_] [–t _Search Template_] [–v] [–V]}}
{{ [–X _AM host_]}}
{panel}
h2. {anchor:ACFFD} Options
The following options are mandatory:
||Option ||Description ||
|{{-D}} _login_|The user ID of the user with permission to execute this command.|
|{{-n}} _domain_|The domain of the user specified with the {{-D}} option.|
|{{-w}} _password_|The password of the user specified with the {{-D}} option.|
The following options are non-mandatory:
||Option ||Description ||
|{{-d}} _domain_|Search for this domain. If {{-d}} is not specified or {{-d*}} is specified, all domains are displayed.|
|{{-h}}, {{–?}}|Prints command usage syntax.|
|{{-i}} _inputfile_|Reads the command information from a file instead of the command line.\\
\\An option value specified in the input file overrides any value for the same option set in the command line.|
|{{-p}} _AM port_|Specifies an alternate TCP port where the Access Manager is listening. If not specified, the default _AM port_ is used, or Port 80 is used if no default was configured at install time.|
|{{-s}}|Use SSL (Secure Socket Layer) to connect to the Access Manager.|
|{{-S}} _service_|Specifies the services to be searched in the active domains.\\
\\ _service_ can have the value of a single service or multiple services. The valid _service_ values are {{mail}}, {{cal}}, and {{im}}. These values are case-insensitive.\\
\\The list of services is separated by the comma (,) delimiter.\\
\\For Example:\\
\\ {{-S mail,cal,im}}|
|{{-t}} _Search template_|Specifies the name of the search templates to be used instead of the default search templates. Only active domains are displayed after the search.|
|{{-v}}|Enable debugging output.|
|{{-V}}|Prints information about the utility and its version.|
|{{-X}} _AM host_|Specifies the host on which the Access Manager is running. If not specified, the default _AM host_ is used, or the localhost if no default was configured at install time.|