Moab Accounting Manager > Appendices > Appendix A: Commands Reference > glsaccount

glsaccount

Synopsis

glsaccount [-A | -I] [-o <organization_name>] [-X, --extension <property>=<value>]... [-u <user_name>] [--full] [--show <attribute_name>,...] [--long] [--wide] [--format <output_type>] [--debug] [--site <site_name>] [--help] [--man] [--quiet] [--version] [[-a] <account_pattern>]

Overview

glsaccount displays account information.

You can customize the fields this command displays by default by setting the account.show configuration parameter in gold.conf.

Options

-a
Format [-a] <account_pattern>
Default ---
Description Displays only accounts matching the pattern. If no pattern is specified then all accounts are displayed.
-A
Format -A
Default ---
Description Displays only active accounts.
-I
Format -I
Default ---
Description Displays only inactive accounts.
-o
Format -o <organization_name>
Default ---
Description

Displays only accounts belonging to the specified organization. The following wildcards are supported:

  • * – matches any number of characters
  • ? – matches a single character
-u
Format -u <user_name>
Default ---
Description Displays only accounts that have the specified user as a member.
-X
Format -X or --extension <property>=<value>
Default ---
Description Specifies an extension property. You can specify any number of extra custom conditions.
--debug
Format --debug
Default ---
Description

Logs debug information to the screen.

--format
Format --format <output_format>
Default standard
Description

Specifies the data output format. Valid values include standard and csv.

--full
Format --full
Default ---
Description Displays all attributes.
--help
Format --help
Default ---
Description

Displays a brief help message.

--long
Format --long
Default ---
Description

Long format. Displays multi-valued fields in a multi-line format.

--man
Format --man
Default ---
Description

Displays full documentation.

--quiet
Format --quiet
Default ---
Description

Suppresses headers and success messages.

--show
Format --show <attribute_name>[,<attribute_name>...]
Default ---
Description

Displays only the specified attributes in the order specified. Valid attributes include the following:

  • Active – Boolean indicating whether this account is active or not.

  • CreationTime – Time this account was created.
  • Deleted – Boolean indicating whether this account is deleted or not.
  • Description – Account description.
  • ModificationTime – Time this account was last modified.
  • Name – Account name.
  • Organization – Organization to which the account belongs.
  • RequestId – ID of the last modifying request.
  • TransactionId – ID of the last modifying transaction.
  • Users – List of users belonging to the account. A caret prefixing a user name indicates that the user is an account admin. A minus sign prefixing a user name indicates that the user is an inactive member of the account.
--site
Format --site <site_name>
Default ---
Description Obtains a response from specified site.
--version
Format --version
Default ---
Description

Displays the product version.

--wide
Format --wide
Default ---
Description

Wide format. Displays multi-valued fields in a single-line, comma-separated format.

Related topics

© 2014 Adaptive Computing