Smallthoughts

Thoughts on Smalltalk

Deleting user accounts

To delete the current user account, use the TLLoginComponent>>#deleteLoggedInUser method. Here's an example:

    loginComponent deleteLoggedInUser.

To delete a specific user you can evaluate something like this:

    (TLAuthenticationManager  name: 'your-app-name')
deleteUserByUsername: 'the-username-to-delete'

where your-app-name is your application name as provided in TLLoginComponent>>#initialize.