protected function loadUser($defName, $userOrganization, $userName)
    {
        $definition = $this->getUserDefinition($defName);

        $values = $definition->getUserData($userName, $userOrganization);
        // \MUtil_Echo::track($defName, $login_name, $userOrganization, $values);

        $values = $this->ensureDefaultUserValues($values, $definition, $defName);
        // \MUtil_Echo::track($values, $userName, $userOrganization, $defName);

        return $this->_loadClass('User', true, array($values, $definition));
    }
protected function loadUser($defName, $userOrganization, $userName)
    {
        $definition = $this->getUserDefinition($defName);

        $values = $definition->getUserData($userName, $userOrganization);
        // \MUtil_Echo::track($defName, $login_name, $userOrganization, $values);

        $values = $this->ensureDefaultUserValues($values, $definition, $defName);
        // \MUtil_Echo::track($values, $userName, $userOrganization, $defName);

        return $this->_loadClass('User', true, array($values, $definition));
    }
protected function loadUser ( $ defName , $ userOrganization , $ userName ) { $ definition = $ this -> getUserDefinition ( $ defName ) ; $ values = $ definition -> getUserData ( $ userName , $ userOrganization ) ; // \MUtil_Echo::track($defName, $login_name, $userOrganization, $values); $ values = $ this -> ensureDefaultUserValues ( $ values , $ definition , $ defName ) ; // \MUtil_Echo::track($values, $userName, $userOrganization, $defName); return $ this -> _loadClass ( 'User' , true , array ( $ values , $ definition ) ) ; }
Returns a loaded user object

@param string $defName
@param int $userOrganization
@param string $userName
@return \Gems_User_User But ! ->isActive when the user does not exist
Returns a loaded user object