The commadmin admin search command searches and displays a specific or all Organization Administrators of a domain.
commadmin admin search -D login -n domain -w password [-l login] [-d domain]
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 |
---|---|
-l login |
The user ID of the Organization Administrator searched for. If -l is not specified or -l is specified with the wildcard operator (-l\\* or -l ’*’) all Organization Administrators of the domain are displayed. |
-d domain |
Searches for users who have Organization Administrator privileges for the specified domain. If -d is not specified, the domain specified by -n is used. |
To search for all Organization Administrators of the test.com domain:
commadmin admin search -D chris -n sesta.com -w bolton -d test.com |