deleteuser is the tool to delete a user in a given context. If you delete a user the public folder entries of this user are transferred to the admin user. All other data are deleted.
| -h,--help | Prints a help text |
| --environment | Show info about commandline environment |
| --nonl | Remove all newlines (\n) from output |
| -c,--contextid <integer> | The id of the context |
| -i,--userid <integer> | Id of the user |
| -u,--username <string> | Username of the user |
| -A,--adminuser <string> | Context Admin user name |
| -P,--adminpass <string> | Context Admin password |
On success:
user <userid> in context <contextid> deleted
On failure:
user <userid> in context <contextid> could not be deleted: <reason from server>