Frontend user

The frontend.user frontend request attribute provides the \TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication object.

Example:

$frontendUser = $request->getAttribute('frontend.user');
$groupData = $frontendUser->fetchGroupData($request);
Copied!