Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners

MaxDB PHP Generator online Help

Prev Return to chapter overview Next

IsLoggedInAsAdmin

Checks whether currently logged in user has admin permissions for a page.

 

Signature:

function IsLoggedInAsAdmin()

 

Example

 

if (!$this->IsLoggedInAsAdmin()) {

   // perform some actions on a page for ordinal users

}



Prev Return to chapter overview Next