cancel
Showing results for 
Search instead for 
Did you mean: 

Obtaining the current role from WD

Former Member
0 Kudos

Hi all,

Is it possible to know from within a WD application in which (portal) role I'm in right now?

Is it possible to know the name of the current workset/page/iView?

Please don't offer us to send a parameter from the iView because we want to obtain this info from a different iView.

Thanks for your help. Adi

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

> Is it possible to know from within a WD application

> in which (portal) role I'm in right now?

I think "No".

But you can check whether the user has a permission for a particular role or not.

Pls look at /people/sap.user72/blog/2005/06/05/user-management-api-in-webdynpro

Former Member
0 Kudos

Hi, Adi!

There' s the

com.sap.tc.webdynpro.service.sal.um.api.IWDClientUser,

which offers methods to access UME-data.

BR

Thomas

Former Member
0 Kudos

Hi Tomas,

Thanks for your answer.

I checked IWDClientUser but I don't think I can get the <b>current</b> role from it.

Do you know of a way to do so?

Thanks, Adi.

Former Member
0 Kudos

Hi!

Check out this thread - especially Bharathwajs post:

Hope, this helps!

BR

Thomas

vijayakhanna_raman
Active Contributor
0 Kudos

Hi Adi,

Check with this thread this deals with getting the data from UME.

Hope this helps u.

Regards,

Vijayakhanna Raman

Message was edited by: Vijayakhanna Raman