The assign-delegations subcommand delegates the administration of the specified Portal Server resources to a user.
psadmin assign-delegations --adminuser uid [--passwordfile passwordFile] --resources resources --delegatedadmin delegated_admin [--dn desktopDN] [--debug]
psadmin assign-delegations -u uid [-f passwordFile] --resources resources --delegatedadmin delegated_admin [-d desktopDN] [--debug]
These are the list of options available for the assign-delegations subcommand. The following three options are required:
Specifies the distinguished name (DN) or the user identification name (uid) of the administrator.
A list of resources being delegated. A resource has the form resource:portalID, if it is a portal centric resource (any one of the Portal, Desktop, Consumer, Producer, Subscriptions, CommunityManager, UBT, Logging, and Monitoring). It has the form resource, if it is a domain centric resource (any one of the PortalDomain, SearchServer, SRA, and SSOAdapter). If a resource is not in the pre-defined list of resources, the above values are specified. Otherwise, it will be ignored.
The DN of a subject that administration of the resources is delegated to. This can be a user, role, organization, or realm DN.
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 the DN of the subject (user, role, organization, or realm) where administration of its desktop is being delegated. If this option is not specified when resources contain Desktop|portalID, desktop administration for all DNs will be delegated. This option is only valid when the resources being delegated contain Desktop|portalID.
This flag is used for debugging purpose only. Set this flag to true to see exceptions that caused the error.
The following command assigns Portal resource of the portal, portal1 to the user d.
./psadmin assign-delegations -u amadmin [-f passwordFile] ----resources Portal:portal1 --delegatedadmin "uid=d,ou=People,o=daorg,o=EnterpriseSample,dc=india,dc=sun,dc=com"
For portal centric services, use the ./psadmin assign-delegations -u amadmin -f ps_password --resources '"Desktop:portal1" "Consumer:portal1"' --delegatedadmin "o=daorg,o=EnterpriseSample,dc=india,dc=sun,dc=com" command.
For domain centric services, use the ./psadmin assign-delegations -u amadmin -f ps_password --resources '"SearchServer" "SRA"' --delegatedadmin "o=daorg,o=EnterpriseSample,dc=india,dc=sun,dc=com" command.