It's weird. There is no friendly fire. That being said. Friendly troops can be hurt by friendly HE, (grenades too) in CMSF.
Friendly tanks will shoot "through" friendly tanks which are at 100% capability.
Friendly bullets do not hurt the trooper on the ground. But as stated above HE will.
But that's in CMSF.