Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CredentialPickerOptions class

Controls the appearance and behavior of a credential prompt.

Syntax


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

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.

 

Properties

The CredentialPickerOptions class has these properties.

PropertyAccess typeDescription

AlwaysDisplayDialog

Read/write

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

AuthenticationProtocol

Read/write

Gets or sets the authentication protocol.

CallerSavesCredential

Read/write

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

Caption

Read/write

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

CredentialSaveOption

Read/write

Gets or sets the option on saving credentials.

CustomAuthenticationProtocol

Read/write

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

ErrorCode

Read/write

Gets or sets the error code.

Message

Read/write

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

PreviousCredential

Read/write

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

TargetName

Read/write

Gets 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 (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

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 (Windows 8.x and Windows Phone 8.x)

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

Attributes

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

See also

Object

 

 

Show:
© 2016 Microsoft