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

glsuser

Synopsis

glsuser [-A|-I] [-X, --extension <property>=<value>]... [-a <account_name>] [--full] [--show <attribute_name>,...] [--long] [--wide] [--format <output_type>] [--debug] [--site <site_name>] [--help] [--man] [--quiet] [--version] [[-u] <user_pattern>]

Overview

glsuser displays user information.

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

Options

-a
Format -a <account_name>
Default ---
Description

Displays only users affiliated with the specified account.

-A
Format -A
Default ---
Description

Displays only active users.

-I
Format -I
Default ---
Description

Displays only inactive users.

-u
Format [-u] <user_pattern>
Default ---
Description

Displays only users matching the pattern. If you do not specify a pattern then all users are displayed. The following wildcards are supported:

  • * – matches any number of characters
  • ? – matches a single character
-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 a 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 user is active or not.
  • CommonName – Common name for the user.
  • CreationTime – Time this user was created
  • Deleted – Boolean indicating whether this user is deleted or not.
  • DefaultAccount – Default account.
  • Description – User description.
  • EmailAddress Email address.
  • ModificationTime – Time this user was last modified.
  • Name – User name.
  • PhoneNumber – Phone number.
  • Accounts – List of accounts to which the user belongs.
  • RequestId – ID of the last modifying request.
  • TransactionId – ID of the last modifying transaction.
--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