[edit]
Definition
XoopsUser is the class defining user objects. $xoopsUser is the XOOPS-wide object containing values regarding the currently logged in user
[edit]
Usage
The $xoopsUser object is empty if the user is not logged in (anonymous user). Important methods on this object are:
getVar('property_name') - returns the property of the parameter name. Possible propeties are:
uname (username), uid (userid), name (real name), email, url and more - check the API Docs for a thorough description
getGroups() - returns an array of usergroups, this user is a member of
Back to Main Page











![[Main Page]](/modules/mediawiki/images/mediawiki.png)


