A first attempt at some code code using the wonderful CiviCRM API version 3. I’m using Drupal 6, and want to retrieve details from CiviCRM relating to the logged in Drupal user. <?php /** * Implements hook_user(). */ function civicrm_login_message_user($op,…