[FLOW3-general] Get a user from the userRepository

Sergio naguib.mahfuz at gmail.com
Fri Dec 21 10:48:29 CET 2012


Yes, I realized I wrote a mistake after writing the message. But yes, I
wrote it as you said too, but that doesn't work, it's weird :(


2012/12/21 Karsten Dambekalns <karsten at typo3.org>

> 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
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
>


More information about the FLOW3-general mailing list