Windows Dev Center

CredentialPicker class

Creates an asynchronous object that displays a dialog box of credentials to the user and collects the user's response.

Note  Enterprise credentials retrieved from the CredentialPicker don't have the capability to roam.
 

Syntax


var credentialPicker = Windows.Security.Credentials.UI.CredentialPicker;

Members

The CredentialPicker class has these types of members:

Methods

The CredentialPicker class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
PickAsync(CredentialPickerOptions) Displays a dialog box to the user and collects credentials from the user.
PickAsync(String, String) Constructor used to initiate asynchronous prompting operations using two inputs.
PickAsync(String, String, String) Constructor used to initiate asynchronous prompting operations using three inputs.

 

Requirements (Windows 10 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 (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

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

See also

Object

 

 

Show:
© 2015 Microsoft