SwitchUserEvent¶
The PSR-14 event
\TYPO3\CMS\Backend\Authentication\Event\SwitchUserEvent
is dispatched when a "SU" (switch user) action has been triggered.
Example¶
Note
Currently, we do not have an example for this event. If you can provide a useful one, please open an issue with your code snippets or a pull request.
API¶
- class \TYPO3\CMS\Backend\Authentication\Event\ SwitchUserEvent
-
This event is triggered when a "SU" (switch user) action has been triggered
- getSessionId ( )
-
- returntype
-
string
- getTargetUser ( )
-
- returntype
-
array
- getCurrentUser ( )
-
- returntype
-
array