Skip to content

/AWS1/CL_WML=>CREATEUSER()

About CreateUser

Creates a user who can be used in WorkMail by calling the RegisterToWorkMail operation.

Method Signature

IMPORTING

Required arguments:

IV_ORGANIZATIONID TYPE /AWS1/WMLORGANIZATIONID /AWS1/WMLORGANIZATIONID

The identifier of the organization for which the user is created.

IV_NAME TYPE /AWS1/WMLUSERNAME /AWS1/WMLUSERNAME

The name for the new user. WorkMail directory user names have a maximum length of 64. All others have a maximum length of 20.

IV_DISPLAYNAME TYPE /AWS1/WMLUSERATTRIBUTE /AWS1/WMLUSERATTRIBUTE

The display name for the new user.

Optional arguments:

IV_PASSWORD TYPE /AWS1/WMLPASSWORD /AWS1/WMLPASSWORD

The password for the new user.

IV_ROLE TYPE /AWS1/WMLUSERROLE /AWS1/WMLUSERROLE

The role of the new user.

You cannot pass SYSTEM_USER or RESOURCE role in a single request. When a user role is not selected, the default role of USER is selected.

IV_FIRSTNAME TYPE /AWS1/WMLUSERATTRIBUTE /AWS1/WMLUSERATTRIBUTE

The first name of the new user.

IV_LASTNAME TYPE /AWS1/WMLUSERATTRIBUTE /AWS1/WMLUSERATTRIBUTE

The last name of the new user.

IV_HIDDENFROMGLBADDRESSLIST TYPE /AWS1/WMLBOOLEAN /AWS1/WMLBOOLEAN

If this parameter is enabled, the user will be hidden from the address book.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_WMLCREATEUSERRESPONSE /AWS1/CL_WMLCREATEUSERRESPONSE