You are here

function _user_import_existing_uid in User Import 6.2

Same name and namespace in other branches
  1. 8 supported/user.inc \_user_import_existing_uid()
  2. 5.2 user_import.module \_user_import_existing_uid()
  3. 5 supported/user.inc \_user_import_existing_uid()
  4. 6.4 supported/user.inc \_user_import_existing_uid()
  5. 7.3 supported/user.inc \_user_import_existing_uid()
  6. 7 supported/user.inc \_user_import_existing_uid()
  7. 7.2 supported/user.inc \_user_import_existing_uid()

Return an existing user ID, if present, for a given email.

1 call to _user_import_existing_uid()
_user_import_validate_email in supported/user.inc

File

supported/user.inc, line 288

Code

function _user_import_existing_uid($email) {
  $uid = db_result(db_query("SELECT uid FROM {users} WHERE mail= '%s' LIMIT 1", $email));
  return $uid;
}