Service Registry 3.1 Administration Guide

Options

-edit

Causes the Admin Tool to launch an editor so that you can edit the new user’s information. The tool launches the editor after evaluating the other command-line parameters. Therefore, editing starts with the result of evaluating any information that was specified on the command line or in a property file. The editing program must terminate without error before the command can continue. The Admin Tool launches the editor specified by the set editor command (see set); by default, this is the vi editor.


Note –

At this release, -edit works with emacsclient and the NetBeansTM command bin/runide.sh --open (but not very well), and has not been shown to work with vi.


-load

Specifies a Java property file whose contents specify properties for the user. The property names are the same as the long forms of the add user command options (for example, lastName and post1.type).

-fn | -firstName

Specifies the first name of a user.

-ln | -lastName

Specifies the last name (surname) of a user. The last name, which is required, must be specified either on the command line or in a property file.

-mn | -middleName

Specifies the middle name of a user.

-alias

The alias to use when accessing the user’s certificate in the keystore. This option is required. The alias must be at least three characters long.

-keypass

The password to use when accessing a user’s certificate in the keystore. This option is required. The password must be at least six characters long.

-postalType | -post1.type

The type of the first PostalAddress. The type, which is required, must be specified either on the command line or in a property file. The value is an arbitrary string (for example, Office or Home).

-city | -post1.city

The city of the first PostalAddress.

-country | -post1.country

The country of the first PostalAddress.

-postalCode | -postcode | -zip | -post1.postalcode

The postal code of the first PostalAddress.

-stateOrProvince | -state | -province | -post1.stateOrProvince

The state or province of the first PostalAddress.

-street | -post1.street

The street name of the first PostalAddress.

-streetNumber | -number | --post1.streetNumber

The street number of the first PostalAddress.

-post2.type

The type of the second PostalAddress. If a second PostalAddress is specified, the type, which is required, must be specified either on the command line or in a property file. The value is an arbitrary string (for example, Office or Home).

-post2.city

The city of the second PostalAddress.

-post2.country

The country of the second PostalAddress.

-post2.postalcode

The postal code of the second PostalAddress.

-post2.stateOrProvince

The state or province of the second PostalAddress.

-post2.street

The street name of the second PostalAddress.

-post2.streetNumber

The street number of the second PostalAddress.

-post3.type

The type of the third PostalAddress. If a third PostalAddress is specified, the type, which is required, must be specified either on the command line or in a property file. The value is an arbitrary string (for example, Office or Home).

-post3.city

The city of the third PostalAddress.

-post3.country

The country of the third PostalAddress.

-post3.postalcode

The postal code of the third PostalAddress.

-post3.stateOrProvince

The state or province of the third PostalAddress.

-post3.street

The street name of the third PostalAddress.

-post3.streetNumber

The street number of the third PostalAddress.

-phoneType | -telephone1.type

The type of the first TelephoneNumber. The type, which is required, must be specified either on the command line or in a property file. The value is an arbitrary string, but you can specify one of the following known types: Beeper, FAX, HomePhone, MobilePhone, or OfficePhone.

-areaCode | -telephone1.areaCode

The area code of the first TelephoneNumber.

-countryCode | -telephone1.countryCode

The country code of the first TelephoneNumber.

-extension | -telephone1.extension

The extension of the first TelephoneNumber.

-number | -telephone1.number

The telephone number suffix, not including the country or area code, of the first TelephoneNumber. The number, which is required, must be specified either on the command line or in a property file.

-URL | -telephone1.URL

The URL of the first TelephoneNumber (the URL that can dial this number electronically).

-telephone2.type

The type of the second TelephoneNumber. If a second TelephoneNumber is specified, the type, which is required, must be specified either on the command line or in a property file. The value is an arbitrary string, but you can specify one of the following known types: Beeper, FAX, HomePhone, MobilePhone, or OfficePhone.

-telephone2.areaCode

The area code of the second TelephoneNumber.

-telephone2.countryCode

The country code of the second TelephoneNumber.

-telephone2.extension

The extension of the second TelephoneNumber.

-telephone2.number

The telephone number suffix, not including the country or area code, of the second TelephoneNumber. If a second TelephoneNumber is specified, the number, which is required, must be specified either on the command line or in a property file.

-telephone2.URL

The URL of the second TelephoneNumber (the URL that can dial this number electronically).

-telephone3.type

The type of the third TelephoneNumber. If a third TelephoneNumber is specified, the type, which is required, must be specified either on the command line or in a property file. The value is an arbitrary string, but you can specify one of the following known types: Beeper, FAX, HomePhone, MobilePhone, or OfficePhone.

-telephone3.areaCode

The area code of the third TelephoneNumber.

-telephone3.countryCode

The country code of the third TelephoneNumber.

-telephone3.extension

The extension of the third TelephoneNumber.

-telephone3.number

The telephone number suffix, not including the country or area code, of the third TelephoneNumber. If a third TelephoneNumber is specified, the number,which is required, must be specified either on the command line or in a property file.

-telephone3.URL

The URL of the third TelephoneNumber (the URL that can dial this number electronically).

-emailType | -email1.type

The type of the first EmailAddress. The type, which is required, must be specified either on the command line or in a property file. The value is an arbitrary string, but you can specify one of the following known types: HomeEmail or OfficeEmail.

-emailAddress | -email | -email1.address

The first email address. The first email address is required.

-email2.type

The type of the second EmailAddress. If a second EmailAddress is specified, the type, which is required, must be specified either on the command line or in a property file. The value is an arbitrary string, but you can specify one of the following known types: HomeEmail or OfficeEmail.

-email2.address

The second email address.

-email3.type

The type of the third EmailAddress. If a third EmailAddress is specified, the type, which is required, must be specified either on the command line or in a property file. The value is an arbitrary string, but you can specify one of the following known types: HomeEmail or OfficeEmail.

-email3.address

The third email address.