/AWS1/IF_AFB=>CREATEUSER()¶
About CreateUser¶
Creates a user.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_userid TYPE /AWS1/AFBUSER_USERID /AWS1/AFBUSER_USERID¶
The ARN for the user.
Optional arguments:¶
iv_firstname TYPE /AWS1/AFBUSER_FIRSTNAME /AWS1/AFBUSER_FIRSTNAME¶
The first name for the user.
iv_lastname TYPE /AWS1/AFBUSER_LASTNAME /AWS1/AFBUSER_LASTNAME¶
The last name for the user.
iv_email TYPE /AWS1/AFBEMAIL /AWS1/AFBEMAIL¶
The email address for the user.
iv_clientrequesttoken TYPE /AWS1/AFBCLIENTREQUESTTOKEN /AWS1/AFBCLIENTREQUESTTOKEN¶
A unique, user-specified identifier for this request that ensures idempotency.
it_tags TYPE /AWS1/CL_AFBTAG=>TT_TAGLIST TT_TAGLIST¶
The tags for the user.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_afbcreateuserresponse /AWS1/CL_AFBCREATEUSERRESPONSE¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->/aws1/if_afb~createuser(
it_tags = VALUE /aws1/cl_afbtag=>tt_taglist(
(
new /aws1/cl_afbtag(
iv_key = |string|
iv_value = |string|
)
)
)
iv_clientrequesttoken = |string|
iv_email = |string|
iv_firstname = |string|
iv_lastname = |string|
iv_userid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_arn = lo_result->get_userarn( ).
ENDIF.