Package com.atlassian.bamboo.user
Interface UserService
- All Known Implementing Classes:
UserServiceImpl
public interface UserService
Service to manage bamboo groups and users
- Since:
- 5.10
-
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.user.Group
createGroup
(String name) Create a group in bamboo.List<com.atlassian.user.Group>
Return a list of groups in bamboo filtered by name.
-
Method Details
-
getGroup
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
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
-