Sun Java System Portal Server 7.2 Command-Line Reference

list-delegations

The list-delegations subcommand lists all the current delegation assignments.

Long-Named Format

psadmin list-delegations --adminuser uid [--passwordfile passwordFile] [--output output_file] [--debug]

Short-Named Format

psadmin list-delegations -u uid [-f passwordFile] [-o output_file] [--debug]

Options

These are the list of options available for the list-delegations subcommand. The following option is required:

[--adminuser | -u] uid

Specifies the distinguished name (DN) or the user identification name (uid) of the administrator.

The following three options are optional:

[--passwordfile | -f] passwordFile

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.

[--output | -o] output_file

Specifies a file for output.

--debug

This flag is used for debugging purpose only. Set this flag to true to see exceptions that caused the error.

Example

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"