This function adds a user to the Tomcat 8.5 configuration.
Important:
When you disable the Web Server role, the system disables this function.
user required | string <username> The user that you wish to add. Note: You can pass this parameter multiple times to add multiple users to the Tomcat 8.5 configuration. Multiple users. user=user=username1 user=username2 user=username3A single user. user=username |
object A status message for each username. | |
object |
whmapi1 --output=jsonpretty \ ea4_tomcat85_add \ user='username'
{- "data": {
- "user123": "status"
}, - "metadata": {
- "command": "ea4_tomcat85_add",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}