Helping ordinary people create extraordinary websites!
HOME TUTORIALS SCRIPTS WEB HOSTING BLOG FORUM
Get Our Newsletter
Email:

Auth::getUsername()

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

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.