modUser
Last updated Oct 11th, 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 moreThe modUser Class¶
The base class for Users in MODX.
Methods¶
- modUser.addSessionContext
- modUser.changePassword
- modUser.countMessages
- modUser.endSession
- modUser.generatePassword
- modUser.generateToken
- modUser.getDashboard
- modUser.getGravatar
- modUser.getPhoto
- modUser.getPrimaryGroup
- modUser.getProfilePhoto
- modUser.getResourceGroups
- modUser.getSessionContexts
- modUser.getSettings
- modUser.getUserGroupNames
- modUser.getUserGroups
- modUser.getUserGroupSettings
- modUser.getUserToken
- modUser.hasSessionContext
- modUser.isAuthenticated
- modUser.isMember
- modUser.joinGroup
- modUser.leaveGroup
- modUser.loadAttributes
- modUser.passwordMatches
- modUser.remove
- modUser.removeLocks
- modUser.removeSessionContext
- modUser.removeSessionContextVars
- modUser.removeSessionCookie
- modUser.save
- modUser.sendEmail
- modUser.set
- modUser.setSudo
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










