Retrieve the displayName and mail attributes

I needed to pull display the displayName and mail attributes from our AD server. I thought this might be useful to other people as well!