on 09-23-2004 3:31 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.