Obtaining Solutions from boundaries

Hi I wanted to know if its possible to get the solutions at the boundaries in legacy Dolfin

Consider: Extracting solution at the domain boundaries - #2 by dokken