$u = new User();
$u->retrieve_by_email_address($email_addr);
once you have the user bean you can get what you need.
FrancescaS
Hi Francesca,
That worked nice for me. Thank you !
And how could I detect if there are more than a user with the same email ?
Kind regards,
Ibon
Good question, I suppose we all assume that email is unique and no two users have the same email address...
Looking at the retrieve_by_email_address function in modules/Users/User.php it certainly seems that is the assumption.
FrancescaS
Good question, I suppose we all assume that email is unique and no two users have the same email address...
Looking at the retrieve_by_email_address function in modules/Users/User.php it certainly seems that is the assumption.
FrancescaS
Many thanks Francesca.
best regards,
Ibon