public class

UserErasureRequest

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

Class Overview

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.

Summary

Nested Classes
class UserErasureRequest.Builder  
Public Methods
@Nonnull String getOriginalUsername()
@Nonnull ApplicationUser getUpdatedUser()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

@Nonnull public String getOriginalUsername ()

Returns
  • the original username previously associated with the anonymized user

@Nonnull public ApplicationUser getUpdatedUser ()

Returns
  • the user with the anonymized name