Technical Note: Managing Sun Java System Portal Server 7.1 Update 1 Communities

add-community-users

Description

Adds users to the specified community.

Syntax

Long Format

psadmin add-community-users --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-users -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 administrator's distinguished name.

--portal | -p portal-ID

Specifies the portal.

--name | -N community-name

Specifies the name of the community.

The following options are optional:

--passwordfile | -f password-filename

Specifies the administrator's 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.

--users | -Y userDN-list

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

--search | -s search-pattern

Specifies a pattern for searching distinguished name of users.

--dryrun | -n true|false

Performs a dry run, typically, for testing the search pattern. Values can be true or false.