user_get_authname

Definition

user_get_authname($account, $module)
modules/user.module, line 753

Description

Called by authentication modules in order to edit/view their authmap information.

Code

<?php
function user_get_authname($account, $module) {
  $result = db_query("SELECT authname FROM {authmap} WHERE uid = %d AND module = '%s'", $account->uid, $module);
  return db_result($result);
}
?>
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.