OnUserActivate
Last updated Oct 14th, 2026 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn moreEvent: OnUserActivate¶
Fires after a User is activated — from the user form in the Manager or in bulk. Third-party Components such as Login use this event.
- Service: 1 - Parser Service Events
- Group: Users
Event Parameters¶
| Name | Description |
|---|---|
| id | The ID of the activated User. |
| user | A reference to the modUser object. |
| mode | modSystemEvent::MODE_UPD when a single User is edited via the user form, or multiple when Users are activated in bulk. |
See Also¶
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn more










