Skip to content

privilegeError ​

Command: privilegeError
Category: Security
Status: Production Ready

Description ​

Retrieve details for an insufficient privilege error using its GUID by calling the system procedure GET_INSUFFICIENT_PRIVILEGE_ERROR_DETAILS.

Syntax ​

bash
hana-cli privilegeError [guid] [options]

Aliases ​

  • pe
  • privilegeerror
  • privilegerror
  • getInsuffficientPrivilegeErrorDetails

Command Diagram ​

Parameters ​

Positional Arguments ​

ParameterTypeDescription
guidstringError GUID to investigate.

Options ​

OptionAliasTypeDefaultDescription
--guid-g, --errorstring-Error GUID value.

Connection Parameters ​

OptionAliasTypeDefaultDescription
--admin-abooleanfalseConnect via admin (default-env-admin.json)
--conn-string-Connection filename to override default-env.json

Troubleshooting ​

OptionAliasTypeDefaultDescription
--disableVerbose--quietbooleanfalseDisable verbose output
--debug-dbooleanfalseEnable debug output

For the runtime-generated option list, run:

bash
hana-cli privilegeError --help

Examples ​

Basic Usage ​

bash
hana-cli privilegeError --guid <error-guid>

Lookup details for the specified insufficient privilege error.

  • grantChains - Visualize privilege inheritance chains
  • privilegeAnalysis - Analyze user privileges and suggest least privilege

See the Commands Reference for other commands in this category.

See Also ​