This website is archiving the documentation of versions prior to 7.3. You can visit the New Bonita BPM Documentation website for versions 7.3 and greater.
Documentation- Legacy -
You can use the getUserWithProfessionalDetails method to retrieve a user and their professional contact data for a user.
This example shows how to get a user and the email address.