It depends on the sample! With a plant or biomass sample, it is split and the moisture determined on one half as per AOAC (moisture oven operated 105 Celcius overnight) and the protein concentration determined on the remaining portion.
If it is water based (you assume that the density is 1 mg/mL) then 1 ug/mL is 1 mg/g.