/AWS1/CL_IDS=>CREATEGROUP()
¶
About CreateGroup¶
Creates a group within the specified identity store.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_identitystoreid
TYPE /AWS1/IDSIDENTITYSTOREID
/AWS1/IDSIDENTITYSTOREID
¶
The globally unique identifier for the identity store.
Optional arguments:¶
iv_displayname
TYPE /AWS1/IDSGROUPDISPLAYNAME
/AWS1/IDSGROUPDISPLAYNAME
¶
A string containing the name of the group. This value is commonly displayed when the group is referenced.
Administrator
andAWSAdministrators
are reserved names and can't be used for users or groups.
iv_description
TYPE /AWS1/IDSSENSITIVESTRINGTYPE
/AWS1/IDSSENSITIVESTRINGTYPE
¶
A string containing the description of the group.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_idscreategrouprsp
/AWS1/CL_IDSCREATEGROUPRSP
¶
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_ids~creategroup(
iv_description = |string|
iv_displayname = |string|
iv_identitystoreid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_resourceid = lo_result->get_groupid( ).
lv_identitystoreid = lo_result->get_identitystoreid( ).
ENDIF.