Hitachi

Hitachi Application Server V10 Command Reference Guide (For Windows® Systems)


2.9.7 delete-file-user

Removes the named file user.

Synopsis

asadmin [asadmin-options] delete-file-user [--help]
    [--authrealmname auth_realm_name] [--target target] username

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The delete-file-user subcommand deletes the entry in the keyfile for the specified username.

Precondition

DAS has to be in a running state.

Arguments

--help | -?

Displays the help text for the subcommand.

--authrealmname auth_realm_name

Specifies the name of the authentication realm with which the user was created.

Type: String

The following values can be specified:

  • Name of the authentication realm

Default value: file

--target target

Specifies the name of the target on which the command operates.

Type: String

The following values can be specified:

  • server

    Deletes the file user on the default server instance. This is the default value.

  • cluster_name

    Deletes the file user from every server instance in the cluster.

  • instance_name

    Deletes the file user from a particular server instance.

Default value: server

username

Specifies the name of the "file user".

Type: String

The following values can be specified:

  • Name of the file user

Default value: N/A

Examples

The following example shows how to delete user named sample_user from a file realm.

asadmin delete-file-user sample_user

Exit Status

Exit Status

Explanation

0

command executed successfully.

1

error in executing the command.