Hi Lawrence,
You would need to use Kentico API to achieve it since there is no way to do it through user interface.
The code could look similar to this:
private bool GetAndBulkDeleteUsers()
{
// Prepare the parameters
string where = "UserEnabled = 1";
// Get the data
DataSet users = UserInfoProvider.GetUsers(where, null);
if (!DataHelper.DataSourceIsEmpty(users))
{
// Loop through the individual items
foreach (DataRow userDr in users.Tables[0].Rows)
{
// Create object from DataRow
UserInfo deleteUser = new UserInfo(userDr);
// Delete the user
UserInfoProvider.DeleteUser(deleteUser);
}
return true;
}
return false;
}