restoregabdefaults deprecated

PACKAGE: open-xchange-core




restoregabdefaults -c contextId -g gabMode -A masterAdmin -P masterAdminPassword [-p RMI-Port] [-s RMI-Server] [--responsetimeout responseTimeout] | [-h]


Restores the default permissions for the global address book (GAB).


-c, --context contextId : The context identifier.

-g, --gabMode gabMode : The optional modus the global address book shall operate on. Currently global and individual are known values, individual being the default. If the mode global is chosen, the special "all users and groups" permission will grant access to the global address book for users. If the users have edit permissions or not is decided based on the property ENABLE_INTERNAL_USER_EDIT. If the mode individual is chosen, each user will have a dedicated permission for the global address book. Please keep in mind that the modus will affect the response for folder requests regarding the global address book, global delivering two entries, individual delivering 1 + n entries where n is the number of users in the context.

-A, --adminuser masterAdminUser : Master admin user name for authentication. Optional, depending on your configuration.

-P, --adminpass masterAdminPassword : Master admin password for authentication. Optional, depending on your configuration.

-h, --help : Prints a help text

-s,--server rmiHost : The optional RMI server (default: localhost)

-p,--port rmiPort : The optional RMI port (default:1099)

--responsetimeout : The optional response timeout in seconds when reading data from server (default: 0s; infinite).