cancel
Showing results for 
Search instead for 
Did you mean: 

UME permissions/actions in WebDynpro

Former Member
0 Kudos

Hi,

I am trying to understand as to how to use UME permissions and actions in a WebDynpro application. Can someone provide me steps of how to achieve it. Please do not provide me links to other threads or help.sap.com. I have gone through them.

Will reward points for helpful answer

Thanks in advance.

Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I have found the answer myself.

Former Member
0 Kudos

Hi,

I have a similar issue .Can u please post ur resolution so that i can have a look at it.

Regards

PN

Former Member
0 Kudos

Hi,

Can you please create a new thread and send me the link to reply.

Cheers

Former Member
0 Kudos

Hi,

If you want to use the UME for getting the information that who has currently logged in, then you can use the following steps:

1. Import the jar file com.sap.security.api.jar

2.In the WDInit() method create an object if the IWDClientUser like this

IWDClientUser wdUser = WDClientUser.getLoggedInClientUser();

3. Now create an object of the Iuser inerface

IUser user = wdUser.getSAPUser();

4. You can use the object user to get all the info abot the logged in user and depending upon the permissions of the user you can enhance your application.

regards

Naresh

Former Member
0 Kudos

Hi Naresh,

Thanks for your reply.

I wa trying to understand how to use UME permissions but not who has logged in. By the way, I have resolved the problem myself.

Regards