Sun Java System Communications Services 6 2005Q4 Delegated Administrator Guide


commadmin user create -D login -F firstname -n domain -L lastname -l userid
   -w password -W password [-A [+]attributename:value] [-d domain]
   [-I initial] [-h] [-?] [-i inputfile] [-p AM port] [-s] [-v] [-V] [-X AM host]
   [-S mail [-E email] [-H mailhost]]
   [-S cal [-B DWPHost] [-E email] [-k calid_type] [-J First Day of Week] [-T time zone]


The following options are mandatory:



-D login

The user ID of the user with permission to execute this command. 

-F firstname

The user’s first name; must be a single word without any spaces. 

-n domain

The domain of the user specified with the -D option.

-l userid

The user’s login name. 

-w password

The password of the user specified with the -D option.

-W password

The password of the user that is being created. 

You may also specify password via a text file, password.txt.

-L lastname

The User’s lastname. 

The following options are non-mandatory:



-A [+ ]attributename:value

An attribute to modify. The attributename is defined in the LDAP schema and value replaces any and all current values for this attribute in the directory. Repeat this option to modify multiple attributes at the same time, or to specify multiple values for the same attribute.

A “+” before the attributename indicates adding the value to the current list of attributes.

-d domain

Domain of the user. If -d is not specified, the domain specified by -n is used.

-i inputfile

Reads the command information from a file instead of the command line. 

-I initial

User’s middle initial. 

-h, -?

Prints command usage syntax. 

-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.


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.

-S service

Adds the specified service to the user during creation. service can have the value of a single service or multiple services. The valid service values are mail and cal. These values are case-insensitive.

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

For Example: 

-S mail,cal

The following options are only allowed if the -S mail option is specified:


-E email

The email address of the user. 

-H mailhost

The mail host of the user. 

The following options are only allowed if the -S cal option is specified:


-B DWPHost

DNS name of the back end calendar that hosts the user’s calendar. 

-E email

The email address of the calendar user. 

-J First Day of Week

First day of the week shown when the calendar is displayed in the calendar server user interface. The valid values are 0-6 (0 is Sunday, 1 is Monday, and so on). 

-k calid_type

Specifies the type of calendar id that is created. The accepted values are legacy and hosted. If -k legacy is specified, only the calendar id is used (for example, jsmith). If -k hosted is specified, the calendar id plus domain is used (for example,

If the -k option is not specified, the default is to use the calendar id plus domain (hosted).

You can set the value of the calendar id type that is created if the -k option is not specified. To do so, add the following parameter to the file:


where value is “hosted” | “legacy”.

The file is located in the following directory:

da_base/data/WEB-INF/classes/sun/comm/cli/ \ server/servlet/

-T time zone

The time zone in which the user’s calendar is displayed. 

See Calendar Time Zone Strings for a list of the valid time zone strings.


To create a new user, smith, enter:

commadmin user create -D chris -n -w secret -F smith -l john \
-L major -W secret -S mail -H