restoreuser deprecated
PACKAGE: open-xchange-admin
NAME
restoreuser - restores a soft-deleted user in a given context.
SYNOPSIS
restoreuser [OPTION]...
DESCRIPTION
This command line tool lifts the soft-deleted state of a user, see softdeleteuser(1): the user appears in the address book and in group member lists again, can be invited again, and, unless disabled through mailenabled, can log in again. A user that is not soft-deleted is rejected.
OPTIONS
-c, --contextid contextid : The context identifier. Mandatory.
-i, --userid userId : Id of the user.
-u, --username username : Username of the user.
-A, --adminuser contextAdmin : Context admin user name for authentication. Optional, depending on your configuration.
-P, --adminpass contextAdminPassword : Context admin password for authentication. Optional, depending on your configuration.
-h, --help : Prints a help text.
--environment : Show info about commandline environment.
--nonl : Remove all newlines (\n) from output.
--responsetimeout : The optional response timeout in seconds when reading data from server (default: 0s; infinite).
EXAMPLES
restoreuser -A contextAdmin -P secret -c 1138 -i 137
Restores the soft-deleted user with the specified identifier in the specified context.
SEE ALSO
softdeleteuser(1), deleteuser(1), listuser(1), changeuser(1)