Class UserManagerHelper
java.lang.Object
org.nuxeo.ecm.platform.usermanager.UserManagerHelper
- Since:
- 2023.17
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addGroupToGroup
(NuxeoGroup subgroup, String groupName) static void
addUserToGroup
(NuxeoPrincipal principal, NuxeoGroup group) static void
addUserToGroup
(NuxeoPrincipal principal, NuxeoGroup group, boolean loadGroupMembers) static void
removeGroupFromGroup
(NuxeoGroup subgroup, String groupName) static void
removeUserFromGroup
(NuxeoPrincipal principal, NuxeoGroup group) static void
removeUserFromGroup
(NuxeoPrincipal principal, NuxeoGroup group, boolean loadGroupMembers)
-
Method Details
-
addUserToGroup
-
addUserToGroup
public static void addUserToGroup(NuxeoPrincipal principal, NuxeoGroup group, boolean loadGroupMembers) -
addGroupToGroup
-
removeUserFromGroup
-
removeUserFromGroup
public static void removeUserFromGroup(NuxeoPrincipal principal, NuxeoGroup group, boolean loadGroupMembers) -
removeGroupFromGroup
-