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.  Get user name

    Posted 11/09/08 01:23 PM

    Dear All,

    I want to get the user name in my Flow who called this service.

    How can I acheive it. Thanks for your help,

    Ragards,
    Faisal


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 2.  RE: Get user name

    Posted 11/09/08 01:36 PM

    Faisal,

    I think one of the API methods mentioned in this related post on finding the name of the calling service may point you in the right direction.

    Mark


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Get user name

    Posted 11/09/08 02:16 PM

    Mark,

    Thanks for your reply,

    I found getCurrentUser() Method under

    com.wm.app.b2b.server.InvokeState

    Regards,
    Faisal


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 4.  RE: Get user name

    Posted 11/10/08 11:19 PM

    Othere one is in com.wm.app.b2b.server.User

    User user = Service.getUser();
    String strUserName = user.getName();


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services