Use the mqsiwebuseradmin command to administer user accounts for the web user interface on Linux, UNIX, or Windows systems.
>>-mqsiwebuseradmin--| brokerSpec |--+- -l +--------------------> +- -c + +- -m + '- -d ' >--+---------------+--+---------------+--+-----------+----------> '- -u -username-' '- -a -password-' '- -r -role-' >--+-------------------+--+-----------------------+------------>< '- -w --timeoutSecs-' '- -v -- traceFileName -' brokerSpec |--+- brokerName ----------------+------------------------------| +- -n --brokerFileName--------+ | .-------------------------. | | V | | '-----+- -i --ipAddress-+---+-' +- -p --port------+ '- -q --qMgr------'
Use this option if multiple users want to connect to the same broker, or if you are using advanced connection parameters such as SSL.
To create this file, right-click the broker in the IBM® Integration Explorer and select Export *.broker file. When prompted, navigate to the location in which you want to save the file and enter the file name; the extension .broker is appended automatically when you click Save. Include the location (path) and file name when you specify this parameter. You must ensure that the location is accessible when you run this command.
If you want to run a command that uses SSL to administer a remote broker over a secured channel, you must specify the keystore and truststore password for the connection using the IBM_JAVA_OPTIONS environment variable. See Resolving problems when running commands for further information.
Use this option for connections to remote brokers that do not require advanced connection parameters.
If you choose this option, you must specify at least one of these three parameters; the order in which you specify them is insignificant. You cannot specify each parameter more than once.
Parameters that you omit assume default values:
If you do not specify the -r parameter when you create a web user account (by specifying the -c parameter), a default role is created with the same name as the web user account. If you are using queue-based authorization, the web user account that you create must have the same name as the system user account that has been specified on the system.
For more information about roles, see Role-based security.
You can set this parameter to a value in the range 1 - 2 145 336 164. If you do not provide a timeoutValue value, or you set a value less than 1 or greater than 2 145 336 164 is specified, an error is returned.
Set this parameter to a value greater than the sum of the configuration timeout parameters ConfigurationChangeTimeout and InternalConfigurationTimeout that you specified for the broker, if you want to ensure that a response is received within the timeoutValue period. If you set a smaller value, the response returned might indicate that the state of the deploy request is unknown.
mqsiwebuseradmin IB9NODE -c -u webuser1 -r admin -a passw0rd
In the preceding example, the value admin corresponds to a system account.
mqsiwebuseradmin IB9NODE -m -u webuser1 -a n3wpass
mqsiwebuseradmin IB9NODE -d -u webuser1