locked
Unable to show error message using credential picker class

    Question

  • Hi All,
     
     I am developing windows store apps, in that I used Credential Picker class, How could I show an error message If user enter invalid credentials. I have seen error Code property in Credential option class but could not find error code to display "Invalid credentials" Message.
     
     Please guide me on this.
    Tuesday, April 8, 2014 3:19 PM

Answers

  • You can set only Win32 error codes on the CredentialPickerOptions.ErrorCode property. here's the list of all possible Win32 codes that you can set on that property: http://msdn.microsoft.com/en-us/library/cc231199.aspx

    To your question, it sounds like error 0x00000005/ "Access is denied" comes pretty much close to "Invalid Credentials"


    Windows Store Developer Solutions, follow us on Twitter: @WSDevSol|| Want more solutions? See our blog

    Tuesday, April 8, 2014 10:53 PM
    Moderator