Sun Java System Portal Server 7.1 Command Line Reference

Chapter 4 Mobile Access Subcommands

This chapter describes the following sub commands:

Mobile Access CLIs

This section describes the following CLIs: get-attribute, set-attribute, list-attribute.

psadmin get-attribute

Returns the specified MA component attribute.

Syntax

Long Format

psadmin get-attribute --adminuser uid --passwordfile passwordfile --component componentname [--baseDN baseDN] --attribute-name attributename

Short Name

psadmin get-attribute -u uid -f passwordfile --component componentname [-d baseDN ] -a attributename

Options

The following are the required options.

[--adminuser | -u]

Specifies the administrator's distinguished name.

[--passwordfile | -f]

Specifies the administrator's password in the password file.

--component

Specifies the name of the component for which to retrieve the attribute.

[--baseDN | -d]

Specifies the distinguished name of the object to which this command needs to be applied.

[--attribute-name | -a]

Specifies the attribute for which the value is to be retrieved.

psadmin set-attribute

Description

Sets the specified MA component attribute.

Syntax

Long Format

psadmin set-attribute --adminuser uid --passwordfile passwordfile --component componentname --attribute-name attributename [--add valuelist] [--remove valuelist]valuelist

Short Format

psadmin set-attribute -u uid -f passwordfile --componentcomponentname -a attributename [-A valuelist] [-E valuelist] valuelist

Options

The following are the required options:

[--adminuser | -u]

Specifies the administrator's distinguished name.

[--passwordfile | -f]

Specifies the administrator's password in the password file.

--component

Specifies the name of the component for which to set the attribute.

[--attribute-name | -a]

Specifies the attribute for which the value is to be retrieved.

[--add | -A]

Specifies the list of values to add to the attribute. Valid only for attributes that hold lists of values.

[--remove | -E]

Specifies the list of values to remove from the attribute. Valid only for attributes that hold lists of values.

valuelist

Specifies the value, or values, to set for the specified attribute.

psadmin list-attributes

Description

This subcommand lists all available attributes and attribute metadata for the specified component.

Syntax

Long Format

psadmin list-attributes --adminuser uid --passwordfile passwordfile --component componentname

Short Format

psadmin list-attributes -u uid -f passwordfile --component componentname

Options

The following are the required options:

[--adminuser | -u] uid

Specifies the administrator's distinguished name.

[--passwordfile | -f] passwordFile

Specifies the administrator's password in the password file.

--component

Specifies the name of the component for which to list the attributes.

Supported Attributes for Mobile Address Book

Table 4–1 Mobile Address Book

Attribute Name 

Description 

Configuration 

displayLinesPerPage 

The number of lines to display per page. 

Global 

sortBy 

The attribute to sort by. 

User 

sortOrder 

The sort order. asc indicates ascending and desc indicates descending. 

User 

Supported Attributes for Mobile Calendar

Table 4–2 Mobile Calendar

Attribute Name 

Description 

Configuration 

displayCalendarsPerPage 

The number of calendars to display per page. 

Global 

eventDescriptionLength 

The display length of an event description. 

Global 

eventsPerPage 

The number of events to display per page.  

Global 

eventLocationLength 

The display length of an event location. 

Global 

eventSummaryLength 

The display length of an event summary. 

Global 

Supported Attributes for Mobile Mail

Table 4–3 Mobile Mail

Attribute Name 

Description 

Configuration 

fromHeaderLength 

The display length for the from header. 

Global 

inboxLinesPerPage 

The number of lines per page to display for the Inbox. 

Global 

messageLinesPerPage 

The number of lines per page to display for a message. 

Global 

foldersPerPage 

The number of lines per page to display for the folder list. 

Global 

subjectHeaderLength 

The display length for the subject header. 

Global 

outboundMailCharsets 

The outbound mail charset list. 

Global 

defaultMailDomain 

The default mail domain. 

Organization 

sentFolderCopy 

Specifies whether or not to copy a message to the Sent folder. It must be True or False. 

Organization 

fromAddress 

The From email address. 

User 

predefinedReplies 

The predefined replies. 

User 

emailSignature 

The email signature. 

User 

Supported Attributes for Mobile Fax

Table 4–4 Mobile Fax

Attribute Name 

Description 

faxFromAddress 

The fax from address. 

faxServiceProviderMailId 

The fax service provider ID. 

faxSubject 

The fax subject.