You are here

function ldaphelp_users in LDAP integration 6

1 string reference to 'ldaphelp_users'
ldaphelp_menu in ldaphelp/ldaphelp.module
Implementation of hook_menu().

File

ldaphelp/ldaphelp.module, line 391
The ldaphelp module is a module to help admins debug ldap_integration modules.

Code

function ldaphelp_users(&$form_state) {
  $form = array();
  $form['info'] = array(
    '#value' => t('Get a list of local Drupal users have been authenticated by LDAP.'),
  );
  $form['check_ldap'] = array(
    '#type' => 'checkbox',
    '#title' => t('Verify with LDAP'),
    '#description' => "If checked, the LDAP server will be queried to verify the user exists.",
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('List Users'),
  );
  return $form;
}