Any heat generated by the electricity through resistance of the iron would cause demagnetization. The current would also induce a magnetic field concentric to itself. Depending on the orientation of this induced magnetic field to the domains in the magnet (with respective components parallel or antiparallel), the current would conventionally have a slight magnetizing or demagnetizing effect.