protected function setPropertiesInUser(UserModel $userRow)
    {
        $query = Query::getInstance()
            ->table($this->getUserPropertiesDefinition()->table())
            ->where("{$this->getUserPropertiesDefinition()->getUserid()} = :id", ['id' =>$userRow->getUserid()]);
        $userRow->setProperties($this->propertiesRepository->getByQuery($query));
    }