Command Central 10.15 | Using the Command Line Interface | Options for the Commands | username
 
username
Specifies the user who is executing a command. The specified user must have the proper authorization to execute the command.
Syntax
{--username | -u} user_name
Arguments
Argument
Description
user_name
Specifies the user name of the user executing the command.
Usage Notes
*If you omit the {--username | -u} option, the command uses the value from the CC_USERNAME environment variable. If the CC_USERNAME environment variable is not set, the command uses “Administrator”.
*Use the {--password | -p} option to specify the user’s password. If you omit the {--password | -p} from the command line, the command will prompt you for the password. For more information, see password
Example
To execute the command as the user with user name admin02:
--username admin02