SwitchUserEvent

The PSR-14 event \TYPO3\CMS\Backend\Authentication\Event\SwitchUserEvent is dispatched when a "SU" (switch user) action has been triggered.

Example

API

class SwitchUserEvent
Fully qualified name
\TYPO3\CMS\Backend\Authentication\Event\SwitchUserEvent

This event is triggered when a "SU" (switch user) action has been triggered

getSessionId ( )
Returns
string
getTargetUser ( )
Returns
array
getCurrentUser ( )
Returns
array