function _ldapdata_retrieve_standard_user_fields in LDAP integration 5.2
Same name and namespace in other branches
- 5 ldapdata.module \_ldapdata_retrieve_standard_user_fields()
- 6 ldapdata.module \_ldapdata_retrieve_standard_user_fields()
1 call to _ldapdata_retrieve_standard_user_fields()
File
- ./
ldapdata.module, line 767
Code
function _ldapdata_retrieve_standard_user_fields() {
// pablom -
// This commented code below would return all possible values,
// but maybe that's not appropriate.
//
// $result = db_query('SHOW COLUMNS FROM {users}');
//
// $fields = array();
// while ($row = db_fetch_object($result)) {
// $fields[] = $row->Field;
// }
// Rather, I'll use my benevolent dictator powers
// to return only sensible ones
$fields['mail'] = 'mail';
$fields['pass'] = 'pass';
$fields['signature'] = 'signature';
return $fields;
}