Detrimentally has 2 different meanings across 1 category:
Adverb
in a detrimental manner
In a detrimental manner.