‪TYPO3CMS  11.5
TYPO3\CMS\Backend\Authentication\Event\SwitchUserEvent Class Reference

Public Member Functions

 __construct (string $sessionId, array $targetUser, array $currentUser)
 
 getSessionId ()
 
 getTargetUser ()
 
 getCurrentUser ()
 

Private Attributes

string $sessionId
 
array $targetUser
 
array $currentUser
 

Detailed Description

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

Definition at line 23 of file SwitchUserEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Authentication\Event\SwitchUserEvent::__construct ( string  $sessionId,
array  $targetUser,
array  $currentUser 
)

Member Function Documentation

◆ getCurrentUser()

TYPO3\CMS\Backend\Authentication\Event\SwitchUserEvent::getCurrentUser ( )

◆ getSessionId()

TYPO3\CMS\Backend\Authentication\Event\SwitchUserEvent::getSessionId ( )

◆ getTargetUser()

TYPO3\CMS\Backend\Authentication\Event\SwitchUserEvent::getTargetUser ( )

Member Data Documentation

◆ $currentUser

array TYPO3\CMS\Backend\Authentication\Event\SwitchUserEvent::$currentUser
private

◆ $sessionId

string TYPO3\CMS\Backend\Authentication\Event\SwitchUserEvent::$sessionId
private

◆ $targetUser

array TYPO3\CMS\Backend\Authentication\Event\SwitchUserEvent::$targetUser
private