Table of Contents

$MEMBER

Info

Type Object
Description Contains information about the currently logged-in member. If the client viewing the site is not logged-in, most of the variables will be blank except for boolean integers which will be set to 0, or where otherwise stated.

Note: To retrieve the information about a member whose member page is being displayed, use $MEMBERINFO instead.

Object variables

Name Variable Type Description
admin Boolean Integer Member has administrator privileges
canlogin Boolean Integer Can login to admin area
cookiekey String Cookie key FIXME
displayname String Member's display name
email String Member's email address
id Integer Member ID (Set to -1 if not logged in)
language String Member's default language
loggedin Boolean Integer Member is currently logged in
notes String Member notes
password String Hash of member's password
realname String Member's real name
url String Member's website URL
plugindev/globalmember.txt · Last modified: 2006/07/05 13:03 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki