cancel
Showing results for 
Search instead for 
Did you mean: 

SCP ABAP Environment Users and Roles

m_dalfonso
Discoverer
0 Kudos

Hi All,

is there a way on the ABAP Cloud Environment to retrieve the business roles assigned to a business user?

View Entire Topic
fjcarrasco
Active Participant
0 Kudos

Hello m.dalfonso

Did you find a way ? I need the same.

Thanks

0 Kudos

Hi Francisco,

are you referring to an ABAP API or a remote API?

With CL_IAM_BUSINESS_USER_FACTORY you can get a reference to a user (if_iam_business_user), which can list all business roles assigned to the user.

But you need to assign the corresponding IAM Business Catalogs to the user executing these APIs, because the required authorizations are only delivered with these catalogs and not released themselves.

With SAP_COM_0093 you can access SOAP APIs, which give you remote access to the Employees and Business Users in the system and their corresponding role assignment.

Best Regards,

Thomas