Sun Java System Portal Server 7 2005Q4 Release Note Supplement

Chapter 35 Mobile Access Subcommands

This supplement contains the following Mobile Access subcommands:

psadmin get-attribute

Description

The get-attribute subcommand will return all Mobile Access specified component attributes

Syntax

Long-Named Format

psadmin get-attribute --adminuser uid --passwordfile passwordfile --component componentname [--dn dn | -global | --org] --attributeattributename

Short-Named Format

psadmin get-attribute -u uid -f passwordFile --component componentname [--dn dn | --g | --org] -a attributename

Options

The following options are required:

[--adminuser | -u]

Specifies the administrator's name or the user identification name.

[--passwordfile | -f]

Specifies the administrator's password in the password file.

--component

Specifies the name of the component

[--dn | -d]

Specifies the name of the object. For example, user, organization, role to which this command can be applied.

[--gobal | -g]

Specifies the command can applied for global settings.

--org

Specifies the command can applied for organizational settings.

[--attribute | -a]

Specifies the attribute.

psadmin set-attribute

Description

The set-attribute subcommand sets the specified Mobile Access component attribute.

Syntax

Long-Named Format

psadmin set-ma-addressbook-attribute--adminuser uid --passwordfile passwordfile --component componentname [--dn dn| -global | --org] --attribute attributename [--add <valuelist>] [--remove <valuelist>] <valuelist>

Short-Named Format

psadmin get-ma-addressbook-attribute -u uid -f passwordFile --component componentname [--dn dn | --g | --org] -a attributename [-A <valuelist>] [-E <valuelist>] <valuelist>

Options

The following options are required:

[--adminuser | -u]

Specifies the administrator's distinguished name or the user identification name.

[--passwordfile | -f]

Specifies the administrator's password in the password file.

--component

Specifies the name of the component

[--dn | -d]

Specifies the name of the object. For example, user, organization, role to which this command can be applied.

[--gobal | -g]

Specifies the command can applied for global settings.

--org

Specifies the command can applied for organizational settings.

[--attribute | -a]

Specifies the attribute for the value to be retrived.

[--add|-A]

Specifies the list of values that can be added to the attribute. This option is valid for attributes that hold list of values.

[--remove|-E]

Specifies the list of values that can be removed from the attribute. This option is valid for attributes that hold list of values.

<valuelist>

Specifies the value or the list of values that can be set to a specified attribute.

psadmin list-attributes

Description

The psadmin list-attributes subcommand will list all available attributes and attribute metadata for the specified component.

Syntax

Long-Named Format

psadmin list-attributes--adminuser uid --passwordfile passwordfile --componentcomponentname

Short-Named Format

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

Options

The following options are required:

[--adminuser | -u] uid

Specifies the administrator's name or the user identification name.

[--passwordfile | -f] passwordFile

Specifies the administrator's password in the password file.

--component

Specifies the name of the component which lists the attributes.