Skip to main content
CredentialPickerOptions class

Controls the appearance and behavior of a credential prompt.

Syntax


var credentialPickerOptions = new Windows.Security.Credentials.UI.CredentialPickerOptions();

public sealed class CredentialPickerOptions

Public NotInheritable Class CredentialPickerOptions

public ref class CredentialPickerOptions sealed 

Attributes

[ MarshalingBehavior(Standard)]
[ Threading(Both)]
[ Version(0x06020000)]

Members

The CredentialPickerOptions class has these types of members:

Constructors

The CredentialPickerOptions class has these constructors.

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

 

Methods

The CredentialPickerOptions class inherits methods from the Object class (C#/VB/C++).

Properties

The CredentialPickerOptions class has these properties.

PropertyAccess typeDescription

AlwaysDisplayDialog

Read/writeGets or sets the option of whether the dialog box is displayed.

AuthenticationProtocol

Read/writeGets or sets the authentication protocol.

CallerSavesCredential

Read/writeGets or sets whether the caller wants to save the credentials.

Caption

Read/writeGets or sets the caption text that is displayed to the user.

CredentialSaveOption

Read/writeGets or sets the option on saving credentials.

CustomAuthenticationProtocol

Read/writeGets or sets whether the authentication protocol is custom rather than a standard authentication protocol.

ErrorCode

Read/writeGets or sets the error code.

Message

Read/writeGets or sets the body of text that displays to the user.

PreviousCredential

Read/writeGets or sets whether to fill dialog box fields with previous credentials.

TargetName

Read/writeGets or sets the name of the target computer.

 

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.

Requirements ( device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Security.Credentials.UI
Windows::Security::Credentials::UI [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

Windows.Security.Credentials.UI
Windows::Security::Credentials::UI [C++]

Metadata

Windows.winmd

See also

Object