GET_USER_ATTRIBUTES SAP Method Get User Details
Below is documentation, parameters and attributes of ABAP Method GET_USER_ATTRIBUTES within SAP class /RPM/CL_ACL_API. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /RPM/CL_ACL_API into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method GET_USER_ATTRIBUTES can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_USER_ATTRIBUTES
.| Name | Type | Data Type | Description | Default Value |
| IV_LANGUAGE | Importing | TYPE LAISO | Language Key of Current Text Environment | |
| IV_ROLE_ID | Importing | TYPE /RPM/TV_USER_ID | User Id | |
| IV_USER_ID | Importing | TYPE /RPM/TV_USER_ID | User Id | |
| ES_USER_ATTRIBUTES | Exporting | TYPE /RPM/USER_ATTRIBUTES | User Attributes |
Exceptions of Method GET_USER_ATTRIBUTES
This method does not have any exceptionsExample ABAP coding
DATA: lv_ES_USER_ATTRIBUTES TYPE /RPM/USER_ATTRIBUTES,
lv_IV_LANGUAGE TYPE LAISO,
lv_IV_ROLE_ID TYPE /RPM/TV_USER_ID,
lv_IV_USER_ID TYPE /RPM/TV_USER_ID,
lv_other TYPE c.
CALL METHOD /RPM/CL_ACL_API=>GET_USER_ATTRIBUTES(
EXPORTING
IV_LANGUAGE = lv_IV_LANGUAGE
IV_ROLE_ID = lv_IV_ROLE_ID
IV_USER_ID = lv_IV_USER_ID
IMPORTING
ES_USER_ATTRIBUTES = lv_ES_USER_ATTRIBUTES ).
Links to Related Class(s)
/RPM/CL_...Full list of available SAP object classes
Search for further information about these or an SAP related objects