You are here

function hook_ldap_user_alter in Lightweight Directory Access Protocol (LDAP) 8.2

Same name and namespace in other branches
  1. 8.3 ldap_servers/ldap_servers.api.php \hook_ldap_user_alter()
  2. 7.2 ldap_servers/ldap_servers.api.php \hook_ldap_user_alter()

Perform alterations of $ldap_user variable.

Parameters

array $ldap_user see README.developers.txt for structure:

array $params context array with some or all of the following key/values: 'account' => drupal account object, 'ldap_context' => , 'module' => module calling alter, e.g. 'ldap_user', 'function' => function calling alter, e.g. 'provisionLdapEntry'

File

ldap_servers/ldap_servers.api.php, line 161
Hooks provided by ldap_servers module

Code

function hook_ldap_user_alter(&$ldap_entry, $params) {
}