DB2 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 |