0

How can I access the $BE_USER variable inside my Extbase controller on the front-end? I just want to know the back-end user ID which is logged in.

http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/3/6/

Jason Aller
  • 3,541
  • 28
  • 38
  • 38
Arek van Schaijk
  • 1,432
  • 11
  • 34

1 Answers1

3

$GLOBALS['BE_USER'] ... you are still in the normal TYPO3 backend context and you can access any global variable. Just make sure that you only read that array/object of you are really in backend mode.

pgampe
  • 4,531
  • 1
  • 20
  • 31