Interface UserService

  • All Known Implementing Classes:
    UserServiceImpl

    public interface UserService
    Service to manage bamboo groups and users
    Since:
    5.10
    • Method Detail

      • getGroup

        List<com.atlassian.user.Group> getGroup​(String name)
                                         throws WebValidationException
        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.
        Parameters:
        name - Name of group name
        Returns:
        List of group with give name.
        Throws:
        WebValidationException
      • createGroup

        com.atlassian.user.Group createGroup​(String name)
                                      throws WebValidationException
        Create a group in bamboo. Only users with System Administration permission are allowed to call this method.
        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