Using Moodle Sessions for Authentication

Re: Using Moodle Sessions for Authentication

oleh James Ballard -
Jumlah balasan: 0
Solved using:

function getUserName()
{
    global $AUTH_USER, $USER;
    $AUTH_USER = $USER->username; 
    return $AUTH_USER;

}