CredentialPicker CredentialPicker CredentialPicker CredentialPicker Class

Definition

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.

public : static class CredentialPicker
public static class CredentialPicker
Public Static Class CredentialPicker
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

PickAsync(String, String) PickAsync(String, String) PickAsync(String, String) PickAsync(String, String)

Constructor used to initiate asynchronous prompting operations using two inputs.

public : static IAsyncOperation<CredentialPickerResults> PickAsync(Platform::String targetName, Platform::String message)
public static IAsyncOperation<CredentialPickerResults> PickAsync(String targetName, String message)
Public Static Function PickAsync(targetName As String, message As String) As IAsyncOperation( Of CredentialPickerResults )
Windows.Security.Credentials.UI.CredentialPicker.pickAsync(targetName, message).done( /* Your success and error handlers */ );
Parameters
targetName
Platform::String String String String

The target name to display.

message
Platform::String String String String

The message to display in the dialog box.

Returns
See Also

PickAsync(String, String, String) PickAsync(String, String, String) PickAsync(String, String, String) PickAsync(String, String, String)

Constructor used to initiate asynchronous prompting operations using three inputs.

public : static IAsyncOperation<CredentialPickerResults> PickAsync(Platform::String targetName, Platform::String message, Platform::String caption)
public static IAsyncOperation<CredentialPickerResults> PickAsync(String targetName, String message, String caption)
Public Static Function PickAsync(targetName As String, message As String, caption As String) As IAsyncOperation( Of CredentialPickerResults )
Windows.Security.Credentials.UI.CredentialPicker.pickAsync(targetName, message, caption).done( /* Your success and error handlers */ );
Parameters
targetName
Platform::String String String String

The target name to display.

message
Platform::String String String String

The message to display in the dialog box.

caption
Platform::String String String String

The caption to display in the dialog box.

Returns
See Also

PickAsync(CredentialPickerOptions) PickAsync(CredentialPickerOptions) PickAsync(CredentialPickerOptions) PickAsync(CredentialPickerOptions)

Displays a dialog box to the user and collects credentials from the user.

public : static IAsyncOperation<CredentialPickerResults> PickAsync(CredentialPickerOptions options)
public static IAsyncOperation<CredentialPickerResults> PickAsync(CredentialPickerOptions options)
Public Static Function PickAsync(options As CredentialPickerOptions) As IAsyncOperation( Of CredentialPickerResults )
Windows.Security.Credentials.UI.CredentialPicker.pickAsync(options).done( /* Your success and error handlers */ );
Parameters
options
CredentialPickerOptions CredentialPickerOptions CredentialPickerOptions CredentialPickerOptions

The options on displaying and collecting the credential box.

Returns
See Also