list-file-groups

Previous Next Contents

list-file-groups

lists file groups

Synopsis

asadmin [asadmin-options] list-file-groups [--help]
[--name username] [--authrealmname auth_realm_name]
[--target target]

Description

The list-file-groups subcommand lists the file users and groups supported by the file realm authentication. This subcommand lists available groups in the file user. If the --name option is not specified, all groups are listed.

This subcommand is supported in remote mode only.

Options

asadmin-options

Options for the asadmin utility. For information about these options, see the asadmin(1M) help page.

--help
-?

Displays the help text for the subcommand.

--name

Identifies the name of the file user for whom the groups will be listed.

--authrealmname

The name of the authentication realm for which to list available groups.

--target

This option specifies which configurations you can list. Valid targets are:

server

Lists the file groups in the current server. This is the default value.

cluster_name

Lists the file groups in a cluster.

instance_name

Lists the file groups for a particular instance.

Examples

Example 1   Listing Groups in all File Realms

This example list all file realm groups defined for the server.

asadmin> list-file-groups
staff
manager
Command list-file-groups executed successfully

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also


Previous Next Contents
Eclipse Foundation Logo  Copyright © 2019, Oracle and/or its affiliates. All rights reserved.