[FLOW3-general] Get a user from the userRepository

Karsten Dambekalns karsten at typo3.org
Fri Dec 21 09:02:47 CET 2012


Hi.

On 20.12.12 13:06, Sergio wrote:
> $address =
> $this->securityContext->getAccount()->getParty()->getPrimaryElectronicAddress()->getUsage();

Have you tried this?

$address =
$this->securityContext->getAccount()->getParty()->getPrimaryElectronicAddress();

Because getUsage() from the name alone should never end up in $address :)


Regards,
Karsten
-- 
Karsten Dambekalns
TYPO3 Core Developer, Neos / Flow Team

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the FLOW3-general mailing list