Skip to Content
author's profile photo Former Member
Former Member

Accessing Portal logon id in Enterprise Portal 6.0

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jan 09, 2005 at 11:15 AM

    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%20Application%20Integrator%20in%20EP%206.0 (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!

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2005 at 06:53 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.