Auth::getUsername()

Auth::getUsername()

Auth::getUsername() --  get the username of the current authentication session

Description

Using this method, one can retrieve the username (often also referred to as the "user id") of the user of the current authentication session.

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.