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
- VersionAttribute(NTDDI_WIN8)
Members
The CredentialPromptType enumeration has these members.
| Member | Value | Description |
|---|---|---|
| PromptIfNeeded | promptIfNeeded | 0 |
Show the UI only if an error occurred. |
| RetypeCredentials | retypeCredentials | 1 |
Always show the UI. If a default username exists, the username is automatically inserted into the appropriate field. |
| DoNotPrompt | doNotPrompt | 2 |
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.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
Build date: 3/14/2013
