Skip to content

/AWS1/CL_WKRBTCCREUSERREQITEM

Contains the details for a single user to be created in a batch user creation request.

A user can only be assigned to a single security group. Attempting to add a user to multiple security groups is not supported and will result in an error.

codeValidation, inviteCode, and inviteCodeTtl are restricted to networks under preview only.

CONSTRUCTOR

IMPORTING

Required arguments:

it_securitygroupids TYPE /AWS1/CL_WKRSECGROUPIDLIST_W=>TT_SECURITYGROUPIDLIST TT_SECURITYGROUPIDLIST

A list of security group IDs to which the user should be assigned.

iv_username TYPE /AWS1/WKRGENERICSTRING /AWS1/WKRGENERICSTRING

The email address or username for the user. Must be unique within the network.

Optional arguments:

iv_firstname TYPE /AWS1/WKRSENSITIVESTRING /AWS1/WKRSENSITIVESTRING

The first name of the user.

iv_lastname TYPE /AWS1/WKRSENSITIVESTRING /AWS1/WKRSENSITIVESTRING

The last name of the user.

iv_invitecode TYPE /AWS1/WKRGENERICSTRING /AWS1/WKRGENERICSTRING

A custom invite code for the user. If not provided, one will be generated automatically.

iv_invitecodettl TYPE /AWS1/WKRINTEGER /AWS1/WKRINTEGER

The time-to-live for the invite code in days. After this period, the invite code will expire.

iv_codevalidation TYPE /AWS1/WKRBOOLEAN /AWS1/WKRBOOLEAN

Indicates whether the user can be verified through a custom invite code.


Queryable Attributes

firstName

The first name of the user.

Accessible with the following methods

Method Description
GET_FIRSTNAME() Getter for FIRSTNAME, with configurable default
ASK_FIRSTNAME() Getter for FIRSTNAME w/ exceptions if field has no value
HAS_FIRSTNAME() Determine if FIRSTNAME has a value

lastName

The last name of the user.

Accessible with the following methods

Method Description
GET_LASTNAME() Getter for LASTNAME, with configurable default
ASK_LASTNAME() Getter for LASTNAME w/ exceptions if field has no value
HAS_LASTNAME() Determine if LASTNAME has a value

securityGroupIds

A list of security group IDs to which the user should be assigned.

Accessible with the following methods

Method Description
GET_SECURITYGROUPIDS() Getter for SECURITYGROUPIDS, with configurable default
ASK_SECURITYGROUPIDS() Getter for SECURITYGROUPIDS w/ exceptions if field has no va
HAS_SECURITYGROUPIDS() Determine if SECURITYGROUPIDS has a value

username

The email address or username for the user. Must be unique within the network.

Accessible with the following methods

Method Description
GET_USERNAME() Getter for USERNAME, with configurable default
ASK_USERNAME() Getter for USERNAME w/ exceptions if field has no value
HAS_USERNAME() Determine if USERNAME has a value

inviteCode

A custom invite code for the user. If not provided, one will be generated automatically.

Accessible with the following methods

Method Description
GET_INVITECODE() Getter for INVITECODE, with configurable default
ASK_INVITECODE() Getter for INVITECODE w/ exceptions if field has no value
HAS_INVITECODE() Determine if INVITECODE has a value

inviteCodeTtl

The time-to-live for the invite code in days. After this period, the invite code will expire.

Accessible with the following methods

Method Description
GET_INVITECODETTL() Getter for INVITECODETTL, with configurable default
ASK_INVITECODETTL() Getter for INVITECODETTL w/ exceptions if field has no value
HAS_INVITECODETTL() Determine if INVITECODETTL has a value

codeValidation

Indicates whether the user can be verified through a custom invite code.

Accessible with the following methods

Method Description
GET_CODEVALIDATION() Getter for CODEVALIDATION, with configurable default
ASK_CODEVALIDATION() Getter for CODEVALIDATION w/ exceptions if field has no valu
HAS_CODEVALIDATION() Determine if CODEVALIDATION has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_BATCHCREATEUSERREQUESTITEMS

TYPES TT_BATCHCREATEUSERREQUESTITEMS TYPE STANDARD TABLE OF REF TO /AWS1/CL_WKRBTCCREUSERREQITEM WITH DEFAULT KEY
.