Add User: add-user

Use the add-user command to add a user to the StarTeam Server. Only users with administrative privileges can run this command.

Syntax

The syntax for this command is:

stcmd{Ex} add-user –s “username:password@host:port” –logonname “logon name” 
–password “password” [-name “user full name” ] [-group “group name”] 
[-phone “phone number”] [-email “email address”] [-address “postal address”] 
[-voicemail “voice mail number”] [-pager “pager number”]

logonname and password are required. All other parameters are optional.

Parameter
Description
-s

Identifies the StarTeam Server. The full syntax is: -s "userName:password@host:portNumber"

For example: -s "JMarsh:password@orion:49201"

If the user name is omitted, the current user name is used. The user name in the example is “JMarsh”.

If the password is omitted, the user is prompted to enter the password. The password in the example is “password”. If the host name is omitted, the default is localhost. The host name in the example is “orion”.

The port number is required. The default port number, 49201, is used in the example.

-logon name
Name used for logging in to the Server.
-password
User's password.
-name
The user's full name. If you don't specify -name, then logon name is used as the name
-group
Name of the group the user is added to. If you don't specify -group, then the user is added to the All Users group. Otherwise, You must specify a valid group name with -group.
-phone
Phone number of the user.
-email
User's email.
-address
Postal address of user.
-voicemail
User's voicemail number.
-pager
User's page number.