Moodle Plugins directory: Automatic user deletion | Moodle.org

Automatic user deletion
Automatic user deletion
This plugin automatically deletes users that have not logged in for a configurable number of days.
Automatically deleting users is useful to keep your database clean and remove old accounts that are no longer needed. The plugin can be configured to send warning emails a number of days before the user is deleted. This gives users the chance to log back in and keep their accounts active. It furthermore supports deleting users in a GDPR-compliant way, leaving no trace of personally identifiable information (PII) inside the user record. Automatic deletion can be tested by performing a dry-run to see which users would be affected without performing any actual action.
Features
- Automatically deleting inactive user accounts
- Sending warning emails to users before deletion
- GDPR-compliant deletion of user accounts
- Ignoring users with specific roles
- Dry-run mode for testing the configuration
- Highly configurable (deletion and warning thresholds, email templates, enabling/disabling of single features, etc.)
- Logging of deletion events
- Automated testing and support for all active Moodle releases
Documentation: installation, configuration and usage
Detailed information about this plugin, installation and configuration instructions, as well as usage guides can be found in the official documentation on GitHub:
Reporting a bug or requesting a feature
If you find a bug or have a feature request, please open an issue via the GitHub issue tracker.
Please do not use the comments section within the Moodle plugin directory. Thanks
License
2025 Niels Gandraß niels@gandrass.de
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Comments