code: def user_list(self, userid, cur_p=''):
          '''
          List the entities of the user.
          '''
          current_page_number = int(cur_p) if cur_p else 1
          current_page_number = 1 if current_page_number < 1 else current_page_number
  
          kwd = {
              'current_page': current_page_number
          }
  
          recs = MEntity2User.get_all_pager_by_username(userid, current_page_num=current_page_number).objects()
  
          self.render('misc/entity/entity_user_download.html',
                      imgs=recs,
                      cfg=config.CMS_CFG,
                      kwd=kwd,
                      userinfo=self.userinfof user_list(self, userid, cur_p=''):
          '''
          List the entities of the user.
          '''
          current_page_number = int(cur_p) if cur_p else 1
          current_page_number = 1 if current_page_number < 1 else current_page_number
  
          kwd = {
              'current_page': current_page_number
          }
  
          recs = MEntity2User.get_all_pager_by_username(userid, current_page_num=current_page_number).objects()
  
          self.render('misc/entity/entity_user_download.html',
                      imgs=recs,
                      cfg=config.CMS_CFG,
                      kwd=kwd,
                      userinfo=self.userinfo)
docs: List the entities of the user.