Based on the magnetic cloud events detected by WIND spacecraft from 1995 to 2006, here are studied on the patterns of electron flows, characteristics of the electron distribution functions as well as their relationships with the heating and acceleration of electrons in the Magnetic Clouds Boundary Layers (MCBL). The main results are as follows. Firstly, there are several types of electron flow patterns in the MCBL. Secondly, compared with the background solar wind and the magnetic cloud body, the thermal core parts of the electron velocity distribution functions usually increase, together with increasing of superthermal electrons in directions perpendicular to the magnetic field and either parallel or anti-parallel to the magnetic field. Furthermore, the distributions of energetic electrons increase in all directions in almost ten percent of the MCBL. Thirdly, by comparisons of the modifications to the electron distribution functions by MCBL and interplantery shocks ahead of magnetic clouds, it suggests that the two structures result from different mechanisms. Lastly, investigation on the relationships between the enhancements of wave activities and electron distribution functions as well as ion fluxes was also made. These observations and comparisons indicate further that magnetic clouds are important dynamical structures possibly associated with magnetic reconnection as previous studies on MCBL have shown.