2.6. changeaccessglobal

This tool changes access permissions for all users on a server. It is not limited to a schema or context. Setting the global address book permission is not possible.

2.6.1. Mandatory parameters

-AAdmin user name. Must be the master admin.
-PAdmin password

2.6.2. Optional parameters

-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.

2.6.3. Options

All access options except "access-global-address-book-disabled". "off" means to disable the permission, "on" to enable it. There is no default value. Not setting an option means not to touch it.

2.6.4. Example

changeaccessglobal -A oxadminmaster -P password --access-calendar=on --access-tasks=on -f webmail_plus

2.6.5. RMI/SOAP calls

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)