on 01-09-2005 4:06 AM
Hi,
I need to know if there is any way i can access User Id variable on the Logon screen so that i can use it as a parameter to my iviews.
Also a list of such global variables would be helpful
Appreciate all your help
Regards
Jayesh
Hi Jayesh,
I don't understand your problem completely - do you want to use the user id within self developed portal Java iViews or within "foreign" iViews (URL iView)?
For the first case, you can retrieve the user from the IPortalComponentRequest:
String userID = req.getUser().getLogonUid();
For the second case, use AppIntegrator instead, see https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/The%20App... (it's a ZIP with PDF in it).
Hope it helps
Detlev
PS: Please realize the point-awarding system on SDN, so if an answer helps you, just press the yellow star button and choose the corresponding amount of points. Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
I have made a transaction based iveiw for Kanban to which i want to pass the Portal user id ( used for logging on ) in the Application Paramters property of the Iviews.
I am passing the Application Paramters as below(just an example)
RMPKB-WERKS=3001&RMPKB-SEPVB=X&RMPKB-MATNR=<<b>MappedUser</b>>
It doesnt seem to take the MappedUser variable to get the portal logon user id.
It would be nice if i can get a varaible through which i can refer the portal logon user id.
Regards
Jayesh
P.S: I have tried User.UserId, LogonUserID etc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.