Sitemagic CMS is very simple when it comes to user management and access control. Sitemagic CMS is a single user Content Management System. The user can be either authorized (in Admin mode) or non-authorized (in Public mode). The class SMAuthentication may be used to log on/off a user, and chech whether the current user is authorized.
||Log on user to gain access to administration section. The username and password is set in the configuration file config.xml.php in the root of the Sitemagic CMS installation. True is returned if successfully authorized, otherwise False.
||Will destroy the administration session and return from Admin mode to Public mode.
||Returns True if current user is authorized, otherwise False.