I\'m looking to access an email id of user that is used for marketplace in wp8. Email address chooser task is only to obtain the email address of a contact, not from user\'s ma
Due to privacy concerns it is not possible to retrieve the account ID. If you just want to identify the user you can use UserExtendedProperties.GetValue("ANID2")
(more information on the WP8 version here)
Also ANID2 is bounded to the the Windows Live Account Id, and the Publisher GUID. So, applications from different publisher will get different values of ANID2.
This link dives into a bit more details- ANID2
extract :
The following holds true for Windows Phone 8 too.
The format in WP7 was like (I x-ed out a few chars): A=E32ACBXXXXXXXXX3B337B68CFFFFFFFF&E=d59&W=1
In WP7 it was necessary to parse the value after A= up to &E= as the other values could change over time.