Imagine being a slave and being told you will go to war, the Civil War, for the Confederacy, by the person who owns you! If a researcher finds that their ancestors who was enslaved was in the war, they may wonder "did he see action?"
The answer, generally but emphatically, is NO. Confederate law prohibited it. Yet, there were reports that this was so. And, there was always the possibility that a person who was forced to follow the troops as a cook or another useful supportive role could use that opportunity to escape or go north and join the Union Army! There is also another consideration. What if the person was a Free Person of Color and then joined up?
So, some of the things a researcher wants to do is to verify which company/troop the person fought in. Check the census or other records to see if that person reports being disabled or is not working for money after the war. Also see where they are living after that war.
AMERICAN BATTLEFIELD TRUST : BLACK CONFEDERATES - TRUTH Excellent article!
... To be specific, in the “Official Records of the War of the Rebellion,” a collection of military records from both sides which spans more than 50 volumes and more than 50,000 pages, there are a total of seven Union eyewitness reports of black Confederates.
Excerpt: Near 21st and Main Street in Richmond, Virginia, the first legally authorized African American Confederate soldiers were assembled and trained in the final weeks of the Civil War. Legislation passed by the Confederate congress on March 13, 1865, allowed for enslaved African Americans to be mustered and equipped on an experimental basis as combat soldiers. Before that date (less than a month before the end of hostilities in Virginia), Confederate law specified that only white men were permitted to serve as soldiers....