How to access MWS Group members in IS?

Hello,

In our project, we have defined certain groups under MWS and each group contains certain users as well.
In-order to send notification while assigning a task to any of these MWS groups, we have to get the user details. How can we retrieve the MWS group members in an IS service ? Is there any public service available for this purpose ?

Regards,
Anish

Hi,

You need to write a java service to get these details as there is no OOTB services available. Refer com.webMethods.sc.directory class.

More details on the below link:

https://techcommunity.softwareag.com/ecosystem/documentation/webmethods/mywebmethods_server/mws10-3/10-3_CAF_and_MWS_Java_API_Reference/com/webmethods/sc/directory/package-frame.html

1 Like

Dear Mahesh,

Thanks for your quick response.

But how can we get the package
"com.webMethods.sc.directory " under Integration server java service?.
By default it is not allowing to import anything from this package. Should we manually add any new package/jar file to IS ?

Regards,
Anish

The jar file is located at C:\SoftwareAG103\common\lib\wm-directory.jar which is already in the Server Classpath.

For writing your java service you can import this lib in the designer workspace.