Skip to content

adminHDIGroup ​

Command: adminHDIGroup
Category: HDI Management
Status: Production Ready

Description ​

Add a User as an HDI Group Admin

Syntax ​

bash
hana-cli adminHDIGroup [user] [group] [options]

Aliases ​

  • adHDIG
  • adhdig

Command Diagram ​

Parameters ​

OptionTypeDefaultGroupDescription
[user]string(none)Positional ArgumentUser to be added as HDI Group Admin.
[group]string(none)Positional ArgumentHDI Group to which the user should be added.
-a, --adminbooleanfalseConnection ParametersConnect via admin (default-env-admin.json).
--connstring(none)Connection ParametersConnection filename to override default-env.json.
--disableVerbose, --quietbooleanfalseTroubleshootingDisable verbose output by removing extra human-readable output. Useful for scripting commands.
-d, --debugbooleanfalseTroubleshootingDebug hana-cli itself by adding lots of intermediate details.
-h, --helpboolean(none)OptionsShow help.

For a complete list of parameters and options, use:

bash
hana-cli adminHDIGroup --help

Examples ​

Basic Usage ​

bash
hana-cli adminHDIGroup HDI_USER myGroup

Adds HDI_USER as an administrator of the HDI group myGroup.

Using Named Parameters ​

bash
hana-cli adminHDIGroup --user HDI_USER --group myGroup

Add user as HDI group admin using named option parameters.

With Admin Connection ​

bash
hana-cli adminHDIGroup HDI_USER myGroup --admin

Add user as HDI group admin using admin credentials from default-env-admin.json.

See the Commands Reference for other commands in this category.

See Also ​