Show/Hide Toolbars

The following sample deactivates an existing active account record.

Code Snippet

// this sample assumes an active account already exists with the unique key (String) value equal to uniqueKey

protected AccountRepository accountRepository;

accountRepository.deactivateAccount(uniqueKey);