PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 4/1/2009 10:32 AM by  Gary Davies
Capture id of user in Portal
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages
SusanA
Private
Private
New Member
(4 points)
New Member
Posts:2


Send Message:

--
1/9/2009 5:53 PM

    I need to capture the id the user logged into Portal .  I've tried using the info from previous posts but with no luck.  I'd like to do this using javascript.

    Susan

    David Williams
    Private
    Private
    Veteran Member
    (3343 points)
    Veteran Member
    Posts:1125


    Send Message:

    --
    1/9/2009 6:06 PM
    Are you using Design Studio? If so you can use:
    var userid=portalWnd.oUserProfile.getAttribute("lawsonuserlogin")
    David Williams
    SusanA
    Private
    Private
    New Member
    (4 points)
    New Member
    Posts:2


    Send Message:

    --
    1/9/2009 6:42 PM

    Unforturnately we don't have Design Studio.  We have a few custom apps that we developed using Java, jsp,  and javascript.  In our 8 environment (not Portal) we just grabbed the userid from a hidden frame on the top window.  Can we do this with Portal?

    Thanks!

    Gary Davies
    Veteran Member
    (738 points)
    Veteran Member
    Posts:248


    Send Message:

    --
    4/1/2009 10:32 AM

    Were you using the authenticate functon to populate authUser as self service apps do,  this method still is used but the source moved from javascript/authenicate.js to webappjs/user.js

    Gary Davies

    www.automated-workflow.com

    You are not authorized to post a reply.