Sun Java System Portal Server 7.1 Command Line Reference

psadmin list-dp

Description

Retrieves and displays display profile node objects.

Syntax

Long Format

psadmin list-dp --name name --adminuser uid --passwordfile password-filename --dn dn --portalid portal-ID [--global] [--dry-run] [--output output-file]

Short Format

psadmin list-dp -n name -u uid -f password-filename -d dn -p portal-ID [ -g] [-r] [-o output-file]

Options

The following options are required:

[--adminuser | -u] uid

Specifies the administrator's distinguished name.

[--dn | -d] dn

Distinguished name of the target node. This is mutually exclusive to -g option.

[--passwordfile | -f] password-filename

Specifies the administrator's password in the password file.

[--portalId| -p] portal-ID

Specifies the portal ID; if this is not supplied, the default is used.

The following options are optional:

[--dry-run | -r]

Attempt to execute command without writing out to LDAP. Default is false.

[--global | -g]

Global display profile. Default is false. This is mutually exclusive to -d option.

[--name | -n] name

Name of the target display object. If omitted, the entire display profile is displayed.

[--output | -o] output-file

Specifies a file for output.

Example


Example 2–1 psadmin list-dp

./psadmin list-dp -u amadmin -f ps_password -p myPortal1 -g -n RenderingWrappingProvider

The output is:


<Provider name="RenderingWrappingProvider" class=
"com.sun.portal.wireless.providers.rendering.wrapping
.RenderingWrappingProvider" version="2">
<Properties>
<String name="wrappedChannel" value="*** Enter channel name to be wrapped ***"/>
<String name="refreshTime" value="0" advanced="true"/>
<String name="fontFace1" value="Sans-serif"/>
<String name="contentPage" value="contentWrapper.jsp"/>
<String name="editPage" value="editWrapper.jsp" advanced="true"/>
<String name="editContainerName" value="JSPRenderingEditContainer" advanced="true"/>
<String name="processPage" value="doedit.jsp" advanced="true"/>
<Boolean name="showExceptions" value="false"/>
<Boolean name="isTopLevel" value="false" advanced="true"/>
</Properties>
</Provider>