CredentialPickerOptions CredentialPickerOptions CredentialPickerOptions CredentialPickerOptions CredentialPickerOptions Class

Definition

Controls the appearance and behavior of a credential prompt.

public : sealed class CredentialPickerOptions : ICredentialPickerOptions
struct winrt::Windows::Security::Credentials::UI::CredentialPickerOptions : ICredentialPickerOptions
public sealed class CredentialPickerOptions : ICredentialPickerOptions
Public NotInheritable Class CredentialPickerOptions Implements ICredentialPickerOptions
var credentialPickerOptions = new credentialPickerOptions();
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Note

: This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX) and Using Windows Runtime objects in a multithreaded environment.

Constructors

CredentialPickerOptions() CredentialPickerOptions() CredentialPickerOptions() CredentialPickerOptions() CredentialPickerOptions()

Creates and initializes a new, empty instance of the CredentialPickerOptions object.

Properties

AlwaysDisplayDialog AlwaysDisplayDialog AlwaysDisplayDialog AlwaysDisplayDialog AlwaysDisplayDialog

Gets or sets the option of whether the dialog box is displayed.

AuthenticationProtocol AuthenticationProtocol AuthenticationProtocol AuthenticationProtocol AuthenticationProtocol

Gets or sets the authentication protocol.

CallerSavesCredential CallerSavesCredential CallerSavesCredential CallerSavesCredential CallerSavesCredential

Gets or sets whether the caller wants to save the credentials.

Caption Caption Caption Caption Caption

Gets or sets the caption text that is displayed to the user.

CredentialSaveOption CredentialSaveOption CredentialSaveOption CredentialSaveOption CredentialSaveOption

Gets or sets the option on saving credentials.

CustomAuthenticationProtocol CustomAuthenticationProtocol CustomAuthenticationProtocol CustomAuthenticationProtocol CustomAuthenticationProtocol

Gets or sets whether the authentication protocol is custom rather than a standard authentication protocol.

ErrorCode ErrorCode ErrorCode ErrorCode ErrorCode

Gets or sets the error code.

Message Message Message Message Message

Gets or sets the body of text that displays to the user.

PreviousCredential PreviousCredential PreviousCredential PreviousCredential PreviousCredential

Gets or sets whether to fill dialog box fields with previous credentials.

TargetName TargetName TargetName TargetName TargetName

Gets or sets the name of the target computer.