cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Portal Runtime information from webdynpro

Former Member
0 Kudos

Hi

My application is as follows.

Devlop the webdynpro components and access them with enterprise portals.

I have a requirement where depending on the user logged in to the portal, i need to customize the webdynpro component in terms of fields and buttons displayed.

How do i get the role/ACL information from portal runtime into webdynpro component. I tried using some of the jars provided by enterprise portal in webdynpro but it did not work.

Any Help please.

Regards

NagaKishore V

Accepted Solutions (0)

Answers (1)

Answers (1)

htammen
Active Contributor
0 Kudos

Hi,

the portal and Web AS both use the user management engine (UME). If the portal and Web Dynpros run at the same Web AS you can use the UME without any more configuration. If you use EP 6.0 SP2 (Web AS 6.20) and Web Dynpro on Web AS 6.30 or 6.40 you have to configure any sort of SSO (Sap logon ticket, UIDPW, ...) between portal and Web AS.

After done this you can use UME in your Web Dynpro app.

Your Web Dynpro app. needs authentication requirement (configured via application property).

The current user can than be retrieved with

WDClientUser.getCurrentUser()

and you get an IUser object with

WDClientUser.getCurrentUser().getSAPUser()

There is also an easy documentation for UME 4.0. available at SDN (search for it)

Hope that helps

Helmut