function ldap_api_server_name in Lightweight Directory Access Protocol (LDAP) 6
File
- ./
ldap_server.admin.inc, line 473
Code
function ldap_api_server_name($sid = NULL) {
$result = db_query("SELECT name FROM {ldap_servers} WHERE sid = %d", $sid);
$object = db_fetch_object($result);
return $object->name;
}