Interface UserRenameService

  • All Known Implementing Classes:
    UserRenameServiceImpl

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

      • 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