code: async def getAuthInfo(self, name):
          '''
          An admin only API endpoint for getting user info.
          '''
          item = self._getAuthItem(name)
          pack = item.pack()
  
          # translate role guids to names for back compat
          if pack.get('type') == 'user':
              pack['roles'] = [self.cell.auth.role(r).name for r in pack['roles']]
  
          return (name, packync def getAuthInfo(self, name):
          '''
          An admin only API endpoint for getting user info.
          '''
          item = self._getAuthItem(name)
          pack = item.pack()
  
          # translate role guids to names for back compat
          if pack.get('type') == 'user':
              pack['roles'] = [self.cell.auth.role(r).name for r in pack['roles']]
  
          return (name, pack)
docs: An admin only API endpoint for getting user info.