You can either print out the barcode for the ticket and QR code for the theme park reservation and hand over these hard copies to your friend to take with them to the gate, or they can simply link the ticket within their own account in the Disneyland Mobile App.