Interface UserRenameService

All Known Implementing Classes:
UserRenameServiceImpl

@PublicApi public interface UserRenameService
Service to rename users.
Since:
5.7
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    renameUser(@NotNull String oldUserName, @NotNull String newUserName, boolean isExternalRename)
    Rename user in all Bamboo user related records.
  • Method Details

    • renameUser

      void renameUser(@NotNull @NotNull String oldUserName, @NotNull @NotNull String newUserName, boolean isExternalRename) throws UserRenameException
      Rename user in all Bamboo user related records. Works for both local and external users.
      Parameters:
      oldUserName -
      newUserName -
      isExternalRename - set to true if the rename has been done externally and Bamboo is notified of it
      Throws:
      UserRenameException