API docs     >     Users and Permissions     >     UserMgr

UserMgr->getByEmail

Description

getByEmail ( $email, $exact = false )
Searches for a single User by email address

Parameters

$email
string
Email to search for
$exact
bool
TRUE if an exact search should be performed

Returns

array|false
Array containing User information or FALSE in case of an error
  1. array(
  2.     ['LOGIN'] => 'user@example.com'
  3.     ['PASSWORD'] => ''********''
  4.     ['ID'] => 5
  5. )