AC magnetic susceptibilities of electron-doped Pr 1.85 Ce 0.15 CuO 4 (PCCO) and Sm 1.85 Ce 0.15 CuO 4 (SCCO) granular thin films have been measured as a function of temperature and magnetic-field strength. Depending on the level of homogeneity of our films, two different types of the irreversibility line (IL), T irr ≡T p (H), defined as the intergrainloss peak temperature in the imaginary part of susceptibility and obeying the law 1-T p /T C ∝ H q , have been found. Namely, more homogeneous PCCO films (with grain size of the order of 2µm) are best-fitted with q=2/3 while less homogeneous SCCO films (with grain size of the order of 500 nm) follow the IL law with q=1. The obtained results are described via the critical-state model taking into account the low-field grain-boundary pinning. The extracted pinning-force densities in more granular SCCO films turn out to be four times larger than their counterparts in less granular PCCO films.