Skip to content

/AWS1/CL_WKRUPDATEUSERDETAILS

Contains the modifiable details for updating an existing user, including name, password, security group membership, and invitation settings.

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.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_firstname TYPE /AWS1/WKRSENSITIVESTRING /AWS1/WKRSENSITIVESTRING

The new first name for the user.

iv_lastname TYPE /AWS1/WKRSENSITIVESTRING /AWS1/WKRSENSITIVESTRING

The new last name for the user.

iv_username TYPE /AWS1/WKRGENERICSTRING /AWS1/WKRGENERICSTRING

The new username or email address for the user.

it_securitygroupids TYPE /AWS1/CL_WKRSECGROUPIDLIST_W=>TT_SECURITYGROUPIDLIST TT_SECURITYGROUPIDLIST

The updated list of security group IDs to which the user should belong.

iv_invitecode TYPE /AWS1/WKRGENERICSTRING /AWS1/WKRGENERICSTRING

A new custom invite code for the user.

iv_invitecodettl TYPE /AWS1/WKRINTEGER /AWS1/WKRINTEGER

The new time-to-live for the invite code in days.

iv_codevalidation TYPE /AWS1/WKRBOOLEAN /AWS1/WKRBOOLEAN

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


Queryable Attributes

firstName

The new first name for 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 new last name for 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

username

The new username or email address for the user.

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

securityGroupIds

The updated list of security group IDs to which the user should belong.

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

inviteCode

A new custom invite code for the user.

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 new time-to-live for the invite code in days.

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