Skip to content

/AWS1/CL_WKRGETUSERRESPONSE

GetUserResponse

CONSTRUCTOR

IMPORTING

Required arguments:

iv_userid TYPE /AWS1/WKRUSERID /AWS1/WKRUSERID

The unique identifier of the user.

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_username TYPE /AWS1/WKRGENERICSTRING /AWS1/WKRGENERICSTRING

The email address or username of the user.

iv_isadmin TYPE /AWS1/WKRBOOLEAN /AWS1/WKRBOOLEAN

Indicates whether the user has administrator privileges in the network.

iv_suspended TYPE /AWS1/WKRBOOLEAN /AWS1/WKRBOOLEAN

Indicates whether the user is currently suspended.

iv_status TYPE /AWS1/WKRINTEGER /AWS1/WKRINTEGER

The current status of the user (1 for pending, 2 for active).

iv_lastactivity TYPE /AWS1/WKRINTEGER /AWS1/WKRINTEGER

The timestamp of the user's last activity in the network, specified in epoch seconds.

iv_lastlogin TYPE /AWS1/WKRINTEGER /AWS1/WKRINTEGER

The timestamp of the user's last login to the network, specified in epoch seconds.

it_securitygroupids TYPE /AWS1/CL_WKRSECGROUPIDLIST_W=>TT_SECURITYGROUPIDLIST TT_SECURITYGROUPIDLIST

A list of security group IDs to which the user belongs.


Queryable Attributes

userId

The unique identifier of the user.

Accessible with the following methods

Method Description
GET_USERID() Getter for USERID, with configurable default
ASK_USERID() Getter for USERID w/ exceptions if field has no value
HAS_USERID() Determine if USERID has a value

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

username

The email address or username of 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

isAdmin

Indicates whether the user has administrator privileges in the network.

Accessible with the following methods

Method Description
GET_ISADMIN() Getter for ISADMIN, with configurable default
ASK_ISADMIN() Getter for ISADMIN w/ exceptions if field has no value
HAS_ISADMIN() Determine if ISADMIN has a value

suspended

Indicates whether the user is currently suspended.

Accessible with the following methods

Method Description
GET_SUSPENDED() Getter for SUSPENDED, with configurable default
ASK_SUSPENDED() Getter for SUSPENDED w/ exceptions if field has no value
HAS_SUSPENDED() Determine if SUSPENDED has a value

status

The current status of the user (1 for pending, 2 for active).

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

lastActivity

The timestamp of the user's last activity in the network, specified in epoch seconds.

Accessible with the following methods

Method Description
GET_LASTACTIVITY() Getter for LASTACTIVITY, with configurable default
ASK_LASTACTIVITY() Getter for LASTACTIVITY w/ exceptions if field has no value
HAS_LASTACTIVITY() Determine if LASTACTIVITY has a value

lastLogin

The timestamp of the user's last login to the network, specified in epoch seconds.

Accessible with the following methods

Method Description
GET_LASTLOGIN() Getter for LASTLOGIN, with configurable default
ASK_LASTLOGIN() Getter for LASTLOGIN w/ exceptions if field has no value
HAS_LASTLOGIN() Determine if LASTLOGIN has a value

securityGroupIds

A list of security group IDs to which the user belongs.

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