You are here

function sf_user_user in Salesforce Suite 5.2

Same name and namespace in other branches
  1. 6.2 sf_user/sf_user.module \sf_user_user()

Implementation of hook_user().

File

sf_user/sf_user.module, line 54
Integrates the core user object and profile module with the Salesforce API.

Code

function sf_user_user($op, &$edit, &$account, $category = NULL) {
  switch ($op) {
    case 'load':
      $account->salesforce = salesforce_api_id_load('user', $account->uid);
      break;
  }
}