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

Subscribe to our news:
Partners

DB2 PHP Generator online Help

Prev Return to chapter overview Next

GetCurrentUserName

Returns name of currently logged in user.

 

Signature:

function GetCurrentUserName()

 

Example:

if ($this->GetCurrentUserName() == 'john') {

   // perform some actions for john

}

 



Prev Return to chapter overview Next