CredentialPickerResults CredentialPickerResults CredentialPickerResults CredentialPickerResults Class

Definition

Describes the results of the dialog box operation.

public : sealed class CredentialPickerResults : ICredentialPickerResults
public sealed class CredentialPickerResults : ICredentialPickerResults
Public NotInheritable Class CredentialPickerResults Implements ICredentialPickerResults
// 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)

Properties

Credential Credential Credential Credential

Gets the opaque credential.

public : IBuffer Credential { get; }
public IBuffer Credential { get; }
Public ReadOnly Property Credential As IBuffer
var iBuffer = credentialPickerResults.credential;
Value
IBuffer IBuffer IBuffer IBuffer

A byte buffer that contains the opaque credential. If the credential is not available, a valid, but empty IBuffer object is returned.

CredentialDomainName CredentialDomainName CredentialDomainName CredentialDomainName

Gets the domain name portion of the unpacked credential.

public : Platform::String CredentialDomainName { get; }
public string CredentialDomainName { get; }
Public ReadOnly Property CredentialDomainName As string
var string = credentialPickerResults.credentialDomainName;
Value
Platform::String string string string

The domain name of the credential. If the domain name is not available, an empty string is returned.

CredentialPassword CredentialPassword CredentialPassword CredentialPassword

Gets the password portion of the unpacked credential.

public : Platform::String CredentialPassword { get; }
public string CredentialPassword { get; }
Public ReadOnly Property CredentialPassword As string
var string = credentialPickerResults.credentialPassword;
Value
Platform::String string string string

The password of the credential. If the password is not available, an empty string is returned.

CredentialSaved CredentialSaved CredentialSaved CredentialSaved

Gets the status of the credential save operation.

public : Platform::Boolean CredentialSaved { get; }
public bool CredentialSaved { get; }
Public ReadOnly Property CredentialSaved As bool
var bool = credentialPickerResults.credentialSaved;
Value
Platform::Boolean bool bool bool

Indicates whether the credential was successfully saved by the credential manager. This value is always False if the caller specified the CallerSavesCredential property.

CredentialSaveOption CredentialSaveOption CredentialSaveOption CredentialSaveOption

Gets the state of the "Save Credentials" check box.

public : CredentialSaveOption CredentialSaveOption { get; }
public CredentialSaveOption CredentialSaveOption { get; }
Public ReadOnly Property CredentialSaveOption As CredentialSaveOption
var credentialSaveOption = credentialPickerResults.credentialSaveOption;
Value
CredentialSaveOption CredentialSaveOption CredentialSaveOption CredentialSaveOption

Indicates the state of the dialog box "Save" check box. If no check box was displayed, the value is "None."

CredentialUserName CredentialUserName CredentialUserName CredentialUserName

Gets the user name of the unpacked credential.

public : Platform::String CredentialUserName { get; }
public string CredentialUserName { get; }
Public ReadOnly Property CredentialUserName As string
var string = credentialPickerResults.credentialUserName;
Value
Platform::String string string string

The user name of the credential used. If the user name is not available, an empty string is returned.

ErrorCode ErrorCode ErrorCode ErrorCode

Gets the value of the error code.

public : unsigned int ErrorCode { get; }
public uint ErrorCode { get; }
Public ReadOnly Property ErrorCode As uint
var uint = credentialPickerResults.errorCode;
Value
unsigned int uint uint uint

The value of the error code. If the operation status indicates a failure, this property contains the extended error information. If the operation status is anything except failure, the value is zero.