Class UserErasureRequest

java.lang.Object
com.atlassian.bitbucket.user.UserErasureRequest

public class UserErasureRequest extends Object
Issued when an admin requests the anonymization of a user's data on this instance.

The application's internal user data has been deleted and some data might not be accessible by the user's name anymore.

Where possible, the user's ID should be used to find data associated with the user. Alternatively, the original username can be used to find data associated with the user.

Note that the ApplicationUser has been deleted, so only the username and ID properties are present and the active flag is false.

Since:
5.16
See Also:
  • Method Details

    • getUpdatedUser

      @Nonnull public ApplicationUser getUpdatedUser()
      Returns:
      the user with the anonymized name
    • getOriginalUsername

      @Nonnull public String getOriginalUsername()
      Returns:
      the original username previously associated with the anonymized user