/**
  * Returns the data for a user object. It may be empty if the user is unknown.
  *
  * @param string $login_name
  * @param int $organization
  * @return array Of data to fill the user with.
  */
 public function getUserData($login_name, $organization)
 {
     $orgs = null;
     try {
         $orgs = $this->db->fetchPairs("SELECT gor_id_organization, gor_name FROM gems__organizations WHERE gor_active = 1 ORDER BY gor_name");
         natsort($orgs);
     } catch (\Zend_Db_Exception $zde) {
     }
     if (!$orgs) {
         // Table might not exist or be empty, so do something failsafe
         $orgs = array($organization => 'create db first');
     }
     return array('user_id' => \Gems_User_UserLoader::SYSTEM_USER_ID, 'user_login' => $login_name, 'user_name' => $login_name, 'user_group' => 800, 'user_role' => 'master', 'user_style' => 'gems', 'user_base_org_id' => $organization, 'user_allowed_ip_ranges' => $this->project->getSuperAdminIPRanges(), 'user_blockable' => false, '__allowedOrgs' => $orgs);
 }