Sun Java System Portal Server 7.2 Command-Line Reference

list—communities

This subcommand list all the communities.

Syntax

Long Format

psadmin list-communities --adminuser uid [--passwordfile password-filename] --portal portal-ID [--search search-pattern] [--verbose]

Short Format

psadmin list-communities -u uid [-f password-filename] -p portal-ID [-s search-pattern] -v

Options

The following options are required:

--adminuser | -u uid

Specifies the distinguished name of administrator.

--portal | -p portal-ID

Specifies the portal ID.

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.

--search | -s search-pattern

Specifies a pattern for searching communities. To search for communities, you can use the wildcard character *. For example, to search through all community names that begin with the letter C, the search pattern can be specified as C*.

--verbose | -v

Specifies community properties in output.