Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
User Commandslist-file-groups(1)


NAME

 list-file-groups - lists the file groups for the named instance

SYNOPSIS

 list-file-groups --user admin_user[ --password admin_password ] [ --host localhost ] [ --port 4848 ][ --passwordfile filename ][ --secure|-s ][ --name username ] instance_name

DESCRIPTION

 

Lists the available groups in the file user. If user_name option is not specified, then all groups will be listed.


OPTIONS

 
--user
administrative user associated for the instance.
--password
administrative password corresponding to the administrative user.
--host
host name of the machine hosting the administrative instance.
--port
administrative port number associated with the administrative host.
--passwordfile
file containing passwords appropriate for the command (e.g., administrative instance).
--secure
if true, uses SSL/TLS to communicate with the administrative instance.
--name
name of the file user.

OPERANDS

 
instance_name
name of the instance.

EXAMPLES

 Example 1. Using the list-file-groups command
 
 
asadmin> list-file-groups --user admin --password adminadmin --host fuyako 
--port 7070 --name sample_user server1
staff
manager

Where: staff and manager are the groups for file user sample_user in instance server1.


EXIT STATUS

 
0
command executed successfully
1
error in executing the command

SEE ALSO

 

delete-file-user(1), update-file-user(1), create-file-user(1), list-file-users(1)



Go To TopLast Changed April 2004