createsharedaccountpermissions deprecated

PACKAGE: open-xchange-admin

NAME

createsharedaccountpermissions - creates a shared account permissions.

SYNOPSIS

createsharedaccountpermissions [OPTION]...

DESCRIPTION

This command line tool creates shared account permissions for n users and n groups for a shared account.

Note: At least one user or group must be specified.

OPTIONS

-h, --help : Prints a help text.

-A, --adminuser admin : The context admin username for authentication.

-P, --adminpass adminPassword : The context admin password for authentication.

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

-U, --addusers userIds : A comma-separated list of user ids. Required if no 'groupIds' are set.

-G, --addgroups groupIds : A comma-separated list of group ids. Required if no 'userIds' are set.

-C, --sharedaccountcontext sharedAccountContextId : The shared account context identifier. Mandatory.

-S, --sharedaccount sharedAccountId : The id of the shared account. Mandatory.

-L, --calendarpermissionlevel permissionLevel : The calendar permission level for the users/groups.

-V, --grantedcapabilities capabilities : A comma-separated list of capabilities that are granted to the provided users/groups.

-W, --deniedcapabilities capabilities : A comma-sepearated list of capabilities that are denied to the provided users/groups.

-X, --mailpermissionlevel permissionLevel : The mail permission level for the users/groups.

Examples

Create Shared Account Permissions for users 12 and 345 in context 123 for shared account 1 in context 22. The permission level for the calendar module is set to viewer and grants the sendAs, but deny the sendOnBehalf capability. The permission level of the mail module are not provided and therefore use to the default configuration settings.
createsharedaccountpermissions -A oxadmin -P secret -c 123 -U 12,345 -C 22 -S 1 -L viewer -V sendAs -W sendOnBehalf

Create Shared Account Permissions for groups 13 and 12 in context 123 for shared account 15 in context 22. The permission level for the mail module is set to editor and grants the sendAs and sendOnBehalf capability. There is no denied part so the default configuration settings for the denied capabilities. The permission level of the calendar module are not provided and therefore use the default configuration settings.
createsharedaccountpermissions -A oxadmin -P secret -c 123 -G 13,12 -C 22 -S 15 -X editor -V sendAs,sendOnBehalf

Create Shared Account Permissions for users 12 and 345 and groups 13 and 12 for shared account 4 in context 123. The permission level for the calendar module is set to viewer and the capabilities sendAs and sendOnBehalf are denied. The granted capabilities are not set and therefore the default configuration settings for denied capabilities are used. The permission level for the mail module is set to author.
createsharedaccountpermissions -A oxadmin -P secret -c 123 -U 12,345 -G 13,12 -C 123 -S 4 -L viewer -W sendAs,sendOnBehalf -X author

listsharedaccountpermissions(1), deletesharedaccountpermissions(1)