Class UserManagerHelper

java.lang.Object
org.nuxeo.ecm.platform.usermanager.UserManagerHelper

public class UserManagerHelper extends Object
Since:
2023.17
  • Method Details

    • addUserToGroup

      public static void addUserToGroup(NuxeoPrincipal principal, NuxeoGroup group)
    • addUserToGroup

      public static void addUserToGroup(NuxeoPrincipal principal, NuxeoGroup group, boolean loadGroupMembers)
    • addGroupToGroup

      public static void addGroupToGroup(NuxeoGroup subgroup, String groupName)
    • removeUserFromGroup

      public static void removeUserFromGroup(NuxeoPrincipal principal, NuxeoGroup group)
    • removeUserFromGroup

      public static void removeUserFromGroup(NuxeoPrincipal principal, NuxeoGroup group, boolean loadGroupMembers)
    • removeGroupFromGroup

      public static void removeGroupFromGroup(NuxeoGroup subgroup, String groupName)