Skip to content

/AWS1/CL_ECA=>CREATEUSER()

About CreateUser

For Redis engine version 6.0 onwards: Creates a Redis user. For more information, see Using Role Based Access Control (RBAC).

Method Signature

IMPORTING

Required arguments:

IV_USERID TYPE /AWS1/ECAUSERID /AWS1/ECAUSERID

The ID of the user.

IV_USERNAME TYPE /AWS1/ECAUSERNAME /AWS1/ECAUSERNAME

The username of the user.

IV_ENGINE TYPE /AWS1/ECAENGINETYPE /AWS1/ECAENGINETYPE

The current supported value is Redis.

IV_ACCESSSTRING TYPE /AWS1/ECAACCESSSTRING /AWS1/ECAACCESSSTRING

Access permissions string used for this user.

Optional arguments:

IT_PASSWORDS TYPE /AWS1/CL_ECAPASSWORDLISTINP_W=>TT_PASSWORDLISTINPUT TT_PASSWORDLISTINPUT

Passwords used for this user. You can create up to two passwords for each user.

IV_NOPASSWORDREQUIRED TYPE /AWS1/ECABOOLEANOPTIONAL /AWS1/ECABOOLEANOPTIONAL

Indicates a password is not required for this user.

IT_TAGS TYPE /AWS1/CL_ECATAG=>TT_TAGLIST TT_TAGLIST

A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

IO_AUTHENTICATIONMODE TYPE REF TO /AWS1/CL_ECAAUTHENTICATIONMODE /AWS1/CL_ECAAUTHENTICATIONMODE

Specifies how to authenticate the user.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ECAUSER /AWS1/CL_ECAUSER