Sun Java System Communications Services 6 2005Q4 Delegated Administrator Guide


commadmin domain purge -D login -n domain -w password -d domain [-g grace] [-h]
   [-?] [-i inputfile] [-p AM port] [-s] [-S service] [-v] [-V] [-X AM host]


The following options are mandatory:



-D login

The user ID of the top-level administrator. 

-n domain

Domain of the top-level administrator. 

-w password

Password of the top-level administrator. 

-d domain

Purge specified domain. The * operator (-d*) may be used to search for a pattern.

The following options are non-mandatory:



-g grace

Grace period in days before the domain is purged. Domains marked for deletion for less than grace days will not be purged. A 0 indicates purge immediately. The default value is 5 days. The default value cannot be changed permanently. You can change the grace period only by using the -g grace option in the commadmin domain purgecommand.

-h, -?

Prints command usage syntax. 

-i inputfile

Reads the command information from a file instead of 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 service

Removes service related object classes and attributes from the domain. If the domain contains users and resources it removes the service specific data from the directory for these users and resources. 

The list of services is separated by the comma (,) delimiter. 

The valid service values are mail and cal. These values are case-insensitive.


Use SSL (Secure Socket Layer) to connect to the Access Manager. 


Enable debugging output. 


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.


In the following example, the domain is purged and all entries within the domain are also removed:

commadmin domain purge -D chris -d -n -w bolton