Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

The User

Many extensions use the currently logged-in user to determine what to display. A user has several attributes in which we might be interested. This table describes each of the attributes:

AttributeDescription
activationString used to activate new user accounts
AidLegacy user group ID
blockTrue if the user’s access is blocked
emailThe user’s email address
GidUser group ID
guestTrue if the user is a guest (not logged in)
IdThe user’s ID, an integer; this is not the same as their username
lastvisitDateDate and time at which the user last logged in
nameUser’s name
paramsINI string of parameters
passwordHashed password
registerDateDate and time at which the user account was registered
sendEmailTrue if the user wishes to receive system emails
usernameUser’s username
usertypeName of user group



  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial