The following example shows you how to retrieve all users with mailbox in an Exchange server. For every user we display username and email address.