OnUserBeforeRemoveFromGroup
Last updated not available | 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: OnUserBeforeRemoveFromGroup¶
Fires before a User is removed from a User Group and its membership record is removed.
- Service: 1 - Parser Service Events
- Group: User Groups
Event Parameters¶
| Name | Description |
|---|---|
| user | A reference to the modUser object. |
| usergroup | A reference to the modUserGroup object. |
| membership | A reference to the modUserGroupMember object being removed. |
A non-empty message from the Plugin prevents the User from being removed.
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










