psadmin unregister-portlet --adminuser uid --passwordfile password-filename --dn dn | --global --portal portal-ID portletearapp
psadmin unregister-portlet -u uid -f passwordfile -d -p portal-ID portletearapp
The following options are required:
Specifies the administrator's distinguished name.
Specifies the distinguished name in the LDAP node to access the Display Profile document. The -d or -g option is required.
Specifies the administrator's password in the password file.
Specifies the portal ID.
The following options are optional:
Specifies the global level node in LDAP to access the display profile document. The -d or -g option is required.
The following is the operand:
Name of the EAR application that needs to be unregistered.
The following is the usage:
psadmin unregister-portlet -u amadmin -f pfile -p portal1 -g helloworld
In the example provided above, all portlet applications in helloworld.ear are unregistered from the Global level.
psadmin unregister-portlet -u amadmin -f pfile -p portal1 -d o=DeveloperSample,dc=sun,dc=com --rolesfile /tmp/rolesfile -g /export/home/myejbapp
In the example provided above, all portlet applications in myejbapp.ear are unregistered from the DeveloperSample node. A role mapping file is also specified.