get credit for (something)
To receive praise, admiration, or acknowledgement for some task, achievement, or accomplishment. Often (but not always) used when someone is praised for something he/she did not actually do. Even though Jenny did all the hard work on the project, Mary was the one who got credit for it. It's good to see Professor Wilson getting credit for her findings.