22.08.2016 - From what I experimented, you need to set a cookie for it to work. $reflection = new \ReflectionClass($GLOBALS['TSFE']->fe_user); .