Hitachi

uCosminexus Application Server Command Reference Guide


cjlistsec (list users or roles)

Organization of this page

Format

cjlistsec [server-name] [-nameserver provider-URL]
     -type {user|role} [-name {user-name|role-name}]

Function

This command outputs to the standard output a list of users or roles.

Arguments

server-name

Specifies the name of a connected J2EE server. If the server name is omitted, the host name is assumed.

-nameserver provider-URL

Specifies the access protocol for the CORBA Naming Service, the name of the host running the CORBA Naming Service, and the port number being used by the host. These items are specified in the following format:

protocol-name: : host-name: port-number

For details on the specification items, see 2.1.2 Provider URL.

-type {user|role}

Specifies the type of resource to be displayed:

  • user: User

  • role: Role

-name {user-name|role-name}

Specifies the name of a user or role to be displayed.

Input examples

For all users
cjlistsec MyServer -type user
For the role of a specific user
cjlistsec MyServer -type user -name scott
For all roles
cjlistsec MyServer -type role
For the users of a specific role
cjlistsec MyServer -type role -name manager

Return values

0:

The command terminated normally.

1:

The command terminated abnormally.

3:

A timeout occurred.

9:

The command could not be executed because there are no administrator privileges (in Windows).

Notes