You are here

function hook_ldap_servers_user_cron in Lightweight Directory Access Protocol (LDAP) 7.2

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

Allows other modules to 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

File

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

Code

function hook_ldap_servers_user_cron(&$users) {
}