I had the LH confirmation number on mine. Actually the agent asked me for it because they cannot access a LH reservation. But I never used it on a UA purchased ticket.
To be safe if you get an ornery LH agent at the airport, bring some evidence of both the UA and LH pnr in the reservation.