user_external_load
- Versions
- 4.6 – 7
user_external_load($authname)
Code
modules/user/user.module, line 148
<?php
function user_external_load($authname) {
$uid = db_query("SELECT uid FROM {authmap} WHERE authname = :authname", array(':authname' => $authname))->fetchField();
if ($uid) {
return user_load($uid);
}
else {
return FALSE;
}
}
?>Login or register to post comments 