AppserverIo\Appserver\ServletEngine\Http\Request::getUserPrincipal PHP Метод

getUserPrincipal() публичный Метод

Return's a PrincipalInterface object containing the name of the current authenticated user.
public getUserPrincipal ( ) : AppserverIo\Psr\Security\PrincipalInterface | null
Результат AppserverIo\Psr\Security\PrincipalInterface | null The user principal
    public function getUserPrincipal()
    {
        return $this->userPrincipal;
    }