Last active
July 29, 2022 16:26
-
-
Save kimakunc/5661572 to your computer and use it in GitHub Desktop.
Retrieve "Global" or "Guest" scope groups from Liferay API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// get the global group | |
Group globalGroup = GroupLocalServiceUtil.getCompanyGroup(companyId); | |
//get the guest group | |
Group guestGroup = GroupLocalServiceUtil.getGroup(companyId, GroupConstants.GUEST); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment