How to fetch Group name using Java service?

Hi,

I need to fetch the group name for a particular user, for fetching the username we have this method getCurrentUser() and then getName() to get the user name. Can anybody suggest something onthis issue?

Regards,
Sudarshan

you can use wmRoot service wm.server.access:groupList which list all users and the groups they belong to.

Note that this wmRoot service are not documented and are subjected to change by webMethods.

Jiten