Java code to read user group from the given user
I want to get the usergroup name of user using java code and user details (email, name ) are supplied from the xsl.
I could probably give you a SQL query to do this, if that helps. I don’t know about Java code. It’s worth noting that users can belong to multiple groups, so providing a single user could produce multiple results.