[TYPO3] username for current user

Dominik Deka dominik at ais.pl
Fri Apr 6 07:41:47 CEST 2007


Do you mean FE extension and FE user?
Then you may use: $GLOBALS['TSFE']->fe_user->user['username']

good luck
Dominik

> I am writing a custom extension.  It has a front-end plugin.  This extension retrieves information from an external database table based on the current user that is logged in.
> What class and function do I need in order to retrieve the username of the currently logged in user?  I will pass this username to my table select where clause.


More information about the TYPO3-english mailing list