Find a user by email address
UserManager also allows you to retrieve the details of other Users if you know
their email address and have permission to view them in CXM.
/** @var \Jadu\Quantum\ServiceApiClient\Manager\UserManager $userManager */ $userManager = $container->get('quantum_service_api_client.manager.user'); $peter = $userManager->getUserByEmail('firstname.lastname@example.org');
This will either return a
User object or