listsharedaccountpermissionsbysharedaccount deprecated

PACKAGE: open-xchange-admin

NAME

listsharedaccountpermissionsbysharedaccount - list all shared account permissions for a shared account.

SYNOPSIS

listsharedaccountpermissionsbysharedaccount [OPTION]...

DESCRIPTION

This command line tool lists all shared account permissions for a shared account, including the permissions held by users and groups of other contexts.

Such a permission is stored in the context of the user or group it was granted to, not in the context of the shared account. The contexts to look in are therefore taken from the cross-context grant index, which records them when the permission is granted. Before that index existed, the tool could only report the grantees that happened to reside in the same database schema as the shared account, which made its output depend on how contexts were distributed across schemas.

On a system upgraded from an earlier version the index is filled in by a daily background job, which skips any database schema that still has a pending update task. Until those updates have run, a recently upgraded system may still answer from the co-located contexts alone.

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 for the shared account. Mandatory.

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

Examples

List all shared account permissions for Shared Account 2 in Context 1.
listsharedaccountpermissionsbysharedaccount -A oxadmin -P secret -c 1 -S 2

createsharedaccountpermissions(1), deletesharedaccountpermissions(1), listsharedaccountpermissions(1)