Skip to content

Instantly share code, notes, and snippets.

@slemarchand
Last active August 2, 2020 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slemarchand/98f2e4c21ea1ae234e2666bfb9555e6b to your computer and use it in GitHub Desktop.
Save slemarchand/98f2e4c21ea1ae234e2666bfb9555e6b to your computer and use it in GitHub Desktop.
import com.liferay.portal.kernel.util.*
import com.liferay.portal.kernel.service.*
import com.liferay.portal.kernel.model.*
companyId = PortalUtil.getCompanyId(actionRequest)
group = GroupLocalServiceUtil.getGroup(companyId, GroupConstants.GUEST)
out.println(group)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment