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.

 View Only
  • 1.  user Details Table

    Posted Sat January 31, 2015 06:12 AM

    Hi All,

    I want to make one flow service to create user and add them to specific group as per the requirement.I am getting user table as b[/b] and group table as b[/b] where user and group record are getting saved when created from mws.But not able to get specific table where user and group relation is being assigned.
    Also In user table all the user details are getting stored but not getting userId as entered but it is some numeric value.
    Attached is the screen shots for your reference.
    Please let me know if I am referring some wrong table or if there is any alternate way to achieve the requirement.
    System Details
    OS:Windows
    Wm Version:8.2
    DB:Oracle
    User management is done using mws central user management

    Thanks
    Baharul Islam


    groupTable.PNG


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: user Details Table

    Posted Mon February 02, 2015 12:16 PM

    If I’m understanding correctly and you’re trying to add records directly into these tables, there are definitely better alternatives.

    For example, search the Tech Community for CDS API. You should find some samples on managing users, roles, etc. Here’s one such example: http://techcommunity.softwareag.com/pwiki/-/wiki/Main/managing+users+with+the+common+directory+service+api#section-Managing+Users+with+the+Common+Directory+Service+API-CreateStaticRoleAndAddUserAsAMember

    Another option is to use xmlImport, which basically consists of you creating an XML file and dropping it in the MWS deploy directory. More details here: xmlImport.xml - webMethods - Software AG Tech Community & Forums

    Good luck,
    Percio


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: user Details Table

    Posted Tue February 03, 2015 03:19 AM

    Hi Percio,

    Thanks for good suggestion.

    I will try to create users using this step(xml/CDS API).

    I think we can create user using method createPrincipal(String directoryServiceID, int principalType, String name, Map properties

    Thanks


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods