New Command Line Tool changeaccessglobal.
This tool changes access rights for all others on a server. It is not limited to an schmema or context.
Setting the global address book right is not possible.
Mandatory Parameter: -A
Admin username. Must be the master admin.
Mandatory Parameter: -p
Admin password.
Optional parameter: -f (-filter)
Filter. The call will only affect users with this access combination. Can be an Integer or a String, representing a module access definition. If left out, all users will be changed.
Options:
All access options except access-global-address-book-disabled. off means to disable the right on to enable. There is no default value. Not setting an option means not to touch it.
Example:
changeaccessglobal -A oxadminmaster -P password --access-calendar=on --access-tasks=on -f webmail_plus
The tool uses the following underlaying RMI/SOAP Calls:
/**
*
* @param ctx Context object
* @param filter The call affects only users with exactly this access combination. -1 for no filter.
* @param addAccess Access rights to be added
* @param removeAccess Access rights to be removed
* @throws InvalidCredentialsException
* @throws StorageException
* @throws InvalidDataException
* @throws DatabaseUpdateException
* @throws NoSuchContextException
*/
changeModuleAccessGlobal(int filter, UserModuleAccess addAccess, UserModuleAccess removeAccess, Credentials auth)
/**
*
* @param ctx Context object
* @param filter The call affects only users with exactly this access combination. null for no filter.
* @param addAccess Access rights to be added
* @param removeAccess Access rights to be removed
* @throws InvalidCredentialsException
* @throws StorageException
* @throws InvalidDataException
* @throws DatabaseUpdateException
* @throws NoSuchContextException
*/
changeModuleAccessGlobal(String filter, UserModuleAccess addAccess, UserModuleAccess removeAccess, Credentials auth)
This tool changes access rights for all others on a server. It is not limited to an schmema or context.
Setting the global address book right is not possible.
Mandatory Parameter: -A
Admin username. Must be the master admin.
Mandatory Parameter: -p
Admin password.
Optional parameter: -f (-filter)
Filter. The call will only affect users with this access combination. Can be an Integer or a String, representing a module access definition. If left out, all users will be changed.
Options:
All access options except access-global-address-book-disabled. off means to disable the right on to enable. There is no default value. Not setting an option means not to touch it.
Example:
changeaccessglobal -A oxadminmaster -P password --access-calendar=on --access-tasks=on -f webmail_plus
The tool uses the following underlaying RMI/SOAP Calls:
/**
*
* @param ctx Context object
* @param filter The call affects only users with exactly this access combination. -1 for no filter.
* @param addAccess Access rights to be added
* @param removeAccess Access rights to be removed
* @throws InvalidCredentialsException
* @throws StorageException
* @throws InvalidDataException
* @throws DatabaseUpdateException
* @throws NoSuchContextException
*/
changeModuleAccessGlobal(int filter, UserModuleAccess addAccess, UserModuleAccess removeAccess, Credentials auth)
/**
*
* @param ctx Context object
* @param filter The call affects only users with exactly this access combination. null for no filter.
* @param addAccess Access rights to be added
* @param removeAccess Access rights to be removed
* @throws InvalidCredentialsException
* @throws StorageException
* @throws InvalidDataException
* @throws DatabaseUpdateException
* @throws NoSuchContextException
*/
changeModuleAccessGlobal(String filter, UserModuleAccess addAccess, UserModuleAccess removeAccess, Credentials auth)