| Package | Description | 
|---|---|
| com.atlassian.bitbucket.license | |
| com.atlassian.bitbucket.user | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
LicenseService.validateCanAddUserToGroup(String username,
                         String group)
Validate if the named user can be added to the specified group without violating license limits. 
 | 
void | 
LicenseService.validateCanLicenseGroup(String group,
                       Permission permission)
Validate if the specified group can be licensed without violating license limits. 
 | 
void | 
LicenseService.validateCanLicenseUser(ApplicationUser user,
                      Permission permission)
Validate if the given user can be licensed without violating license limits 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
UserAdminService.addMembersToGroup(String groupName,
                 Set<String> usernames)
Adds one or more users to a group. 
 | 
void | 
UserAdminService.addUserToGroups(String username,
               Set<String> groupNames)
Adds a user to one or more groups. 
 | 
void | 
UserAdminService.createUser(String username,
          String password,
          String displayName,
          String emailAddress)
Creates a new user and adds them to the default group, if it exists. 
 | 
void | 
UserAdminService.createUser(String username,
          String password,
          String displayName,
          String emailAddress,
          boolean addToDefaultGroup)
Creates a new user and optionally adds them to the default group, if it exists. 
 | 
void | 
UserAdminService.createUserWithGeneratedPassword(String username,
                               String displayName,
                               String emailAddress)
Creates a new user with a randomly-generated password. 
 | 
Copyright © 2019 Atlassian. All rights reserved.