locked
Retrieve user's email RRS feed

  • Question

  • I know this question has been answered, that there's no way to get the liveID, and that you should ask the user for it.  However, I want to raise it again.  The user is asked for their email address two times while signing up for a healthvault account.  Now when getting to our app, we're supposed to ask for it again?  That makes our app look stupid.  I'd like to petition to make the live ID address available.
    Thanks,
    jim
    Wednesday, October 7, 2009 2:37 AM

Answers

  • Hello,

     


    The contact email address can be retrieved by following the below methods,

    ·         Get PersonInfo.SelectedRecord, then get the singleton PersonalContactInfo object.

    ·         Get the PersonInfo.GetSelfRecord(), then get the PersonalContactInfo object.

    ·         Use the SendInsecureMessageFromApplication() API method and let HealthVault send the email for you without you ever knowing the address.

     

    Also please note that the email IDs present in the contact type does not guaranty to match the login ID as the users can change them at their will.

    The below forum thread explains the same scenario.

    http://social.msdn.microsoft.com/Forums/en-AU/healthvault/thread/5023bcea-5bfa-4a26-8986-59bb3a770f9d

    Hope this helps.

    Thanks and Regards,
    Aneesh D.
    Tuesday, October 20, 2009 4:08 PM

All replies

  • Hello,

     


    The contact email address can be retrieved by following the below methods,

    ·         Get PersonInfo.SelectedRecord, then get the singleton PersonalContactInfo object.

    ·         Get the PersonInfo.GetSelfRecord(), then get the PersonalContactInfo object.

    ·         Use the SendInsecureMessageFromApplication() API method and let HealthVault send the email for you without you ever knowing the address.

     

    Also please note that the email IDs present in the contact type does not guaranty to match the login ID as the users can change them at their will.

    The below forum thread explains the same scenario.

    http://social.msdn.microsoft.com/Forums/en-AU/healthvault/thread/5023bcea-5bfa-4a26-8986-59bb3a770f9d

    Hope this helps.

    Thanks and Regards,
    Aneesh D.
    Tuesday, October 20, 2009 4:08 PM
  • The email address someone wants to use associated with their Health Record may be different than the one associated with their Live ID or Open ID.  As such, there is an email field stored inside the health record that is considered content, and can be read and used by apps.

    The email associated with the authentication credentials to access HealthVault is not content, and will not be shared.
    Tuesday, October 20, 2009 11:20 PM