API docs     >     Users and Permissions     >     UserMgr

UserMgr->getAllByEmail

Description

getAllByEmail ( $email )
Searches for Users by email address

Parameters

$email
string
Email to search for

Returns

array|false
Array containing Users or FALSE in case of an error
  1. array(
  2.     [0] => array(
  3.         ['LOGIN'] => 'user@example.com'
  4.         ['PASSWORD'] => '********'
  5.         ['ID'] => 5
  6.         ['LASTNAME'] => 'Example'
  7.         ['FIRSTNAME'] => 'User'
  8.         ['EMAIL'] => 'user@example.com'
  9.         ['COMPANY'] => 'ACME Corp.'
  10.         ['DEPARTMENT'] => 'Anvil Production'
  11.         ['FAX'] => '+1 555 1235'
  12.         ['PHONE'] => '+1 555 1234'
  13.     )
  14.     ...
  15. )