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

gmkaccount

Synopsis

gmkaccount [-A|-I] [-o <organization_name>] [-d <description>] [-X, --extension <property>=<value>]... [-u [^|!][+|-]<user_name>,...]... [--create-fund=<boolean>] [--debug] [--site <site_name>] [--help] [--man] [--quiet] [--verbose] [--version] [[-a] <account_pattern>]

Overview

gmkaccount creates a new account. Users may be associated with the account. If you turn on auto-generation for the Fund object or assert the --create-fund flag, a fund will automatically be created for the account.

Options

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

Specifies the name of the new account

-A
Format -A
Default ---
Description

Activates the account

-d
Format -d <description>
Default ---
Description

Specifies an account description.

-I
Format -I
Default ---
Description

Deactivates the account.

-o
Format -o <organization_name>
Default ---
Description

Specifies the name of the organization to which the account belongs.

-u
Format -u [^|!][+|-]<user_name>[,[^|!][+|-]<user_name>...]
Default ---
Description

Defines user members of the account. The optional caret or exclamation symbol indicates whether the user should be created as an admin (^) or not (!) for the account. The optional plus or minus sign can precede each member to indicate whether the member should be created in the active (+) or inactive (-) state. By default, a user will be created in the active state but not an admin. You may pass multiple users may be passed to the -u option in a comma-delimited list or by specifying multiple -u options.

-X
Format -X or --extension <property>=<value>
Default ---
Description Specifies an extension property. You can specify any number of extra custom conditions.
--create-fund
Format --create-fund <boolean>
Default ---
Description

Overrides the fund auto-generation setting. Setting this option to True creates a default fund for this account. Setting this option to False inhibits the creation of a default fund for this account.

--debug
Format --debug
Default ---
Description

Logs debug information to the screen.

--help
Format --help
Default ---
Description

Displays a brief help message.

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

Displays full documentation.

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

Suppresses headers and success messages.

--site
Format --site <site_name>
Default ---
Description Obtains a response from specified site.
--verbose
Format --verbose
Default ---
Description

Displays modified object details.

--version
Format --version
Default ---
Description

Displays the product version.

Related topics

© 2014 Adaptive Computing