Possible Duplicate:
How does Square's CardCase App Do This?
Is this forbidden? Square's iPhone App CardCase seems to be doing this when you create an account. It prefills fields with your email address, photo, and name from the iPhone's address book.
If not forbidden, how does one accomplish it?
Edit: I suspect they are doing this:
Programmatically get own phone number in iOS
and then looking for the phone number in the address book.