According to this Stack Exchange answer, glass reflects around 4-100% of the UV in sunlight depending on the angle of incidence. So you could probably get a sunburn if the angle is low enough (like if the Sun is almost directly overhead and reflecting off a vertical window).
It really depends on the type of glass some glass transmits UV light and some types reflect UV light. And that is not taking into account the pile of other factors that will affect it.