IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Getting the portal username from javascript

    Posted 02/06/09 07:25 PM

    Hi:

    There is a function that I can use from a javascript block that returns the current portal username ?

    Thanks
    Edgardo


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods


  • 2.  RE: Getting the portal username from javascript

    Posted 02/09/09 06:49 PM

    You can use this expression in your script block:

    var userId = "#{facesContext.externalContext.remoteUser}";

    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine