Credential​Picker Credential​Picker Credential​Picker 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 CredentialPickerpublic static class CredentialPickerPublic Static Class CredentialPicker
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)

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 )
Parameters
targetName
PlatForm::String String String

The target name to display.

message
PlatForm::String String String

The message to display in the dialog box.

Returns
Attributes
See Also

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 )
Parameters
targetName
PlatForm::String String String

The target name to display.

message
PlatForm::String String String

The message to display in the dialog box.

caption
PlatForm::String String String

The caption to display in the dialog box.

Returns
Attributes
See Also

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 )
Parameters
options
CredentialPickerOptions CredentialPickerOptions CredentialPickerOptions

The options on displaying and collecting the credential box.

Returns
Attributes
See Also