CredentialPromptType enumeration

Provides the ability to control when to show or hide the credential prompt user interface. This includes the user interface for the app to collect user consent to access data stored in Live. The user must see the user interface in order for the app to obtain any user data, if not app will see an error when they try to obtain user data.

Syntax


var value = Windows.Security.Authentication.OnlineId.CredentialPromptType.promptIfNeeded;

Attributes

[Version(0x06020000)]

Members

The CredentialPromptType enumeration has these members.

MemberValueDescription
PromptIfNeeded | promptIfNeeded0

Show the UI only if an error occurred.

RetypeCredentials | retypeCredentials1

Always show the UI. If a default username exists, the username is automatically inserted into the appropriate field.

DoNotPrompt | doNotPrompt2

Never show the UI, even if an error occurs.

Remarks

Windows Phone 8

This API is not implemented and will throw an exception if called. See Windows Phone Runtime API.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8 [not implemented, see Remarks]

Namespace

Windows.Security.Authentication.OnlineId
Windows::Security::Authentication::OnlineId [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft