You are here

function ldap_api_server_get_attribute in Lightweight Directory Access Protocol (LDAP) 6

get single ldap server attribute

@module module name. if given, attribute is returned from module_data array

Parameters

$sid: ldap server id

$attr: attribute name

Return value

ldap configuration as array or single ldap server configuration

File

includes/ldap.functions.inc, line 92
Other LDAP Functions

Code

function ldap_api_server_get_attribute($sid, $attr, $module) {
  require_once 'ldap_api.functions.inc';
  return _ldap_api_server_get_attribute($sid, $attr, $module);
}