Auth::getUsername()

Auth::getUsername() – get the username of the authenticated user

Synopsis

string Auth::getUsername ( )

Description

Get the username of the logged in user.

Return value

string - The username of the logged in user.

Note

This function can not be called statically.