2.9.13 list-file-groups
Lists the file groups.
Synopsis
asadmin [asadmin-options] list-file-groups [--help] [--name username] [--authrealmname auth_realm_name] target
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
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. This subcommand is supported in remote mode only.
If the --name option is not specified, all groups are listed.
Precondition
Domain Administration Server (DAS) is running.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- --name username
-
Identifies the name of the file user for whom the groups will be listed.
Type: String
The following values can be specified:
-
Name of the file user
Default value: N/A
-
- --authrealmname auth_realm_name
-
Specifies the name of the authentication realm for which to list available groups.
Type: String
The following values can be specified:
-
Name of the auth realm
Default value: N/A
-
- target
-
Specifies which configurations you can list.
Type: String
The following values can be specified:
-
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.
Default value: server
-
Examples
This example list all file realm groups defined for the server.
asadmin list-file-groups
Exit Status
Exit Status |
Explanation |
---|---|
0 |
subcommand executed successfully. |
1 |
error in executing the subcommand. |