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.  How to add a user to a group programmatically (IS)

    Posted 09/28/15 06:53 PM

    Hi,

    Is there a way to programmatically add an existing local user in an Integration Server to a group?

    Thanks.


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: How to add a user to a group programmatically (IS)

    Posted 09/29/15 03:58 AM

    wm.server.access:groupAdd this must do it for you. Also explore the services in WmRoot (wm.server.access). Please not that the services in WmRoot are internal to webMethods and you must use it at your own risk.

    To access the WmRoot package in designer add the extended setting watt.server.ns.hideWmRoot=false on IS. And just note that server restart is not required.

    Any questions?


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: How to add a user to a group programmatically (IS)

    Posted 09/29/15 05:06 PM

    I called service wm.server.access:groupAdd and I received an error saying that the group already exists. I should mention that both my user and group already exist, I just want to associate them. I’ll look at the other services in access folder.


    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: How to add a user to a group programmatically (IS)

    Posted 10/01/15 05:45 AM

    Yes I did not test it. You can also check wm.server.access:userUpdate. HTH


    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: How to add a user to a group programmatically (IS)

    Posted 10/01/15 10:17 AM

    I used userUpdate and it enabled me to specify a group that the user belongs to as wanted. Unfortunately, it forces you to specify a password for the user even if you don’t want to change it. But in my case it does the job.

    Thanks.


    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: How to add a user to a group programmatically (IS)

    Posted 10/01/15 10:34 AM

    Yes I agree.


    #webMethods
    #Integration-Server-and-ESB