The syntax for this command is:
stcmd{ex} manage-user -s "userName:password@host:port" -logonName userlogonName [-suspend] [ -activate ] [ -forcePasswordChange ] [ -forceLogoff ] [ -changePassword newPassword ]
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.
The following examples can be used by and administrator to manage another user account:
manage-user –s “Administrator:password@host:port” -logonName “joeuser” –suspend
manage-user –s “Administrator:password@host:port” -logonName “joeuser” –activate
manage-user –s “Administrator:password@host:port” -logonName “joeuser” –forceLogoff
manage-user –s “Administrator:password@host:port” -logonName “joeuser” –changePassword “joepassword”
A non-administrative user can also run this command, but only to change his/her own password as follows:
manage-user –s “joeuser:password@host:port” -logonName joeuser –changePassword “mynewpassword”