The list-delegations subcommand lists all the current delegation assignments.
psadmin list-delegations --adminuser uid [--passwordfile passwordFile] [--output output_file] [--debug]
psadmin list-delegations -u uid [-f passwordFile] [-o output_file] [--debug]
These are the list of options available for the list-delegations subcommand. The following option is required:
Specifies the distinguished name (DN) or the user identification name (uid) of the administrator.
The following three options are optional:
Specifies the administrator password in the password file. When --passwordfile option is specified, the password file should contain the password without any other text. If this option is not specified, the password will be prompted.
Specifies a file for output.
This flag is used for debugging purpose only. Set this flag to true to see exceptions that caused the error.
The following command lists delegation assignments of Portal resource of the portal, portal1 to the user d.
./psadmin list-delegations -u amadmin [-f passwordFile] ----resources Portal:portal1 --delegatedadmin "uid=d,ou=People,o=daorg,o=EnterpriseSample,dc=india,dc=sun,dc=com"