code: def _determine_profiles(self):
          
          mp_insts = self._conn.EnumerateInstances("CIM_RegisteredProfile",
                                                   namespace=self.interop_ns)
          self._profiles = mp_insts
docs: Determine the WBEM management profiles advertised by the WBEM server,
          by communicating with it and enumerating the instances of
          `CIM_RegisteredProfile`.
  
          If the profiles could be determined, this method sets the
          :attr:`profiles` property of this object to the list of
          `CIM_RegisteredProfile` instances (as :class:`~pywbem.CIMInstance`
          objects), and returns.
          Otherwise, it raises an exception.
  
          Raises:
  
              Exceptions raised by :class:`~pywbem.WBEMConnection`.
              CIMError: CIM_ERR_NOT_FOUND, Interop namespace could not be
                determined.