kernel/classes/datatypes/ezuser/ezuser.php
static public function fetchUnactivated( $sort = false, $limit = 10, $offset = 0 )
    {
        $accountDef = eZUserAccountKey::definition();
        $settingsDef = eZUserSetting::definition();

        return eZPersistentObject::fetchObjectList(
            eZUser::definition(), null, null, $sort,
            array(
                'limit' => $limit,
                'offset' => $offset
            ),
            true, false, null,
            array( $accountDef['name'], $settingsDef['name'] ),
            " WHERE contentobject_id = {$accountDef['name']}.user_id"
                . " AND {$settingsDef['name']}.user_id = contentobject_id"
                . " AND is_enabled = 0"
        );
    }
static public function fetchUnactivated( $sort = false, $limit = 10, $offset = 0 )
    {
        $accountDef = eZUserAccountKey::definition();
        $settingsDef = eZUserSetting::definition();

        return eZPersistentObject::fetchObjectList(
            eZUser::definition(), null, null, $sort,
            array(
                'limit' => $limit,
                'offset' => $offset
            ),
            true, false, null,
            array( $accountDef['name'], $settingsDef['name'] ),
            " WHERE contentobject_id = {$accountDef['name']}.user_id"
                . " AND {$settingsDef['name']}.user_id = contentobject_id"
                . " AND is_enabled = 0"
        );
    }
static public function fetchUnactivated ( $ sort = false , $ limit = 10 , $ offset = 0 ) { $ accountDef = eZUserAccountKey :: definition ( ) ; $ settingsDef = eZUserSetting :: definition ( ) ; return eZPersistentObject :: fetchObjectList ( eZUser :: definition ( ) , null , null , $ sort , array ( 'limit' => $ limit , 'offset' => $ offset ) , true , false , null , array ( $ accountDef [ 'name' ] , $ settingsDef [ 'name' ] ) , " WHERE contentobject_id = {$accountDef['name']}.user_id" . " AND {$settingsDef['name']}.user_id = contentobject_id" . " AND is_enabled = 0" ) ; }
Return an array of unactivated eZUser object

@param array|false|null An associative array of sorting conditions,
if set to false ignores settings in $def, if set to null uses
settingss in $def.
@param int $limit
@param int $offset
@return array( eZUser )
Return an array of unactivated eZUser object