Sun Java System Portal Server 7.2 Command-Line Reference

add-community-owners

This subcommand adds owners to a specified community.

Syntax

Long Format

psadmin add-community-owners --adminuser uid [--passwordfile password-filename] --portal portal-ID --name community-name [--user user-DN] [--users userDN-list] [--search search-pattern] [--dryrun]

Short Format

psadmin add-community-owners -u uid [-f password-filename] -p portal-ID -N community-name [-y user-DN] [-Y userDN-list] [-s search-pattern] [-n]

Options

The following options are required:

--adminuser | -u uid

Specifies the distinguished name of administrator.

--portal | -p portal-ID

Specifies the portal ID.

--name | -N community-name

Specifies the name of the community.

The following options are optional:

--passwordfile | -f password-filename

Specifies the administrator password in a temporary password file. The password file is used to fetch and present password for authentication.

--user | -y userDN

Specifies the distinguished name of the user to add as an owner.

--users | -Y userDN-list

Specifies the distinguished name of a list of users.

--search | -s search-pattern

Specifies a pattern to search for distinguished name of users. The search pattern is a regular expression for directory node search.

--dryrun | -n

Performs a dry run, typically, for testing the search pattern.