You are here

function hook_ldap_servers_user_cron in Lightweight Directory Access Protocol (LDAP) 8.4

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

Periodically affect an LDAP associated user or its corresponding LDAP entry.

When cron runs a batch of LDAP associated Drupal accounts will be looked at and marked as tested. over the course of time all LDAP related users will be looked at.

Each module implementing this hook is responsible for altering LDAP entries and Drupal user objects; simply altering the variables will have no affect on the actual LDAP entry or Drupal user

Parameters

array $users: Batch of users.

File

ldap_servers/ldap_servers.api.php, line 27

Code

function hook_ldap_servers_user_cron(array &$users) {
}