claimfolderadmin deprecated
PACKAGE: open-xchange-core
NAME
claimfolderadmin - lets a user claim folder-administrator rights on public folders
SYNOPSIS
claimfolderadmin [OPTIONS] | [-h]
DESCRIPTION
This command line tool grants a user folder-administrator rights (full administrative permissions plus the folder-admin flag) on public folders. Public folders are the only folders that allow more than one folder administrator.
A typical use case is recovering access after a user has been deleted: when the deleted user's data was reassigned to a user that cannot log in, another user can take over the administration of the affected public folders.
The operation can target either a single folder (-f) or, in bulk, the public folders currently administered by a given source user (--from-user). It is additive: existing administrators of a folder are kept. If the user already holds a permission on a folder, that permission is elevated in place.
In bulk mode only folders located within the public folder trees are considered, i.e. public groupware folders and public InfoStore (Drive) folders. The source user's personal InfoStore "home" folder and its subfolders - although technically public folders owned by the user - are deliberately excluded.
OPTIONS
-c, --context contextId : The context id.
-u, --user userId : The identifier of the user that shall become folder administrator.
-f, --folder folderId : The identifier of the public folder to claim. Mutually exclusive with --from-user.
--from-user sourceUserId : Claim every public folder currently administered by this source user. Only folders within the public folder trees are considered (public groupware folders and public InfoStore folders); the source user's personal InfoStore home folder and its subfolders are excluded. Mutually exclusive with -f.
-A, --adminuser admin : The context admin user name for authentication.
-P, --adminpass adminPassword : The context admin password for authentication.
-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).
EXAMPLES
claimfolderadmin -c 1 -u 7 -f 543 -A oxadmin -P secret : Grants user 7 folder-administrator rights on public folder 543 in context 1.
claimfolderadmin -c 1 -u 7 --from-user 4 -A oxadmin -P secret : Grants user 7 folder-administrator rights on every public folder in context 1 that user 4 currently administers, excluding user 4's personal InfoStore home folder.