This module allows you to automatically delete inactive users based on configurable criteria. You can set rules for how long a user must be inactive before being deleted, and optionally filter by their status, roles, or if they have posted content.
User Prune lets you mass delete inactive users based on criteria you specify on every cron job.
The main criteria is the time since the user last logged in or, if never logged in before, the time since the user was created.
Optionally, some criteria can be set to Prune users:
- by status (blocked or active)
- who never posted comments
- who never logged in
Drupal 7 version:
User Prune lets you mass delete inactive users based on criteria you specify.
The pruning specification you select can be saved as a cron job, or executed a single time.
The main criteria is the time since the user last logged in or, if never logged in before, the time since the user was created.
Optionally, some criteria can be set to Prune users:
- by status (blocked or active)
- by roles
- who never posted comments
- who never created nodes
- have subscriptions and there for are being notified about content updates.
- are a part of an organic group.
- have responded to a survey being tracked by entityforms.
- Actively and or had requested a translation job through TMGMT.
Ask your assistant about User Prune
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- user Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 8.x-1.5 | Stable | 8–10 | Nov 27, 2023 |