Class UserServiceImpl

java.lang.Object
com.atlassian.bamboo.user.UserServiceImpl
All Implemented Interfaces:
UserService

public class UserServiceImpl extends Object implements UserService
Since:
5.10
  • Constructor Details

    • UserServiceImpl

      public UserServiceImpl()
  • Method Details

    • getGroup

      public List<com.atlassian.user.Group> getGroup(String name) throws WebValidationException
      Description copied from interface: UserService
      Return a list of groups in bamboo filtered by name. Currently only one group that matches the name will be included in the list. Only users with System Administration permission are allowed to call this method.
      Specified by:
      getGroup in interface UserService
      Parameters:
      name - Name of group name
      Returns:
      List of group with give name.
      Throws:
      WebValidationException
    • createGroup

      public com.atlassian.user.Group createGroup(String name) throws WebValidationException
      Description copied from interface: UserService
      Create a group in bamboo. Only users with System Administration permission are allowed to call this method.
      Specified by:
      createGroup in interface UserService
      Parameters:
      name - name of the new group
      Returns:
      The group that is created
      Throws:
      WebValidationException - If group name is invalid, group already exists or create group is not allowed