cancel
Showing results for 
Search instead for 
Did you mean: 

How to get current role selected by user in NWBC, if one user have multiple roles assigned ?

0 Kudos

Hi Experts,

Currently having an requirement of getting the Current role name in MDG NWBC portal. As per scenario i have to select the role selected by user in a case when he have provided with multiple roles for a User for a change request, I want to retrieve the role name from NWBC for my validation and workflow step who is trying to access the change request and enriching the data.

It's really helpful if anybody guide me on this .

Regards

Anand

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi, you can use the table agr_users to identify whether the user has the required authorization role or not. This check can be done within properties BADI to update the field properties , or it can be used in the check BADI to throw an error message for missing roles.

shaila_kasha
Contributor
0 Kudos

Hello - Were you able to get a solution for your problem. We have a similar requirement to get the user role name from MDG UI in order to update the properties badi. please let me know if you were able to achieve this and provide few hints on doing it.

Thank You very much !