Mr. Laser Beam wrote:
^ Security officers (i.e. redshirts) are starship crew. They're not meant for ground combat.
But they've seen doing such during away missions.
I think the only real difference between starship security personnel and ground troops is that the latter is generally deployed in much larger numbers on a planetary surface and may have specialized equipment. Otherwise, they're probably interchangeable.