CredentialPickerResults CredentialPickerResults CredentialPickerResults CredentialPickerResults Class

Definition

Describes the results of the dialog box operation.

public sealed class CredentialPickerResultspublic sealed class CredentialPickerResultsPublic NotInheritable Class CredentialPickerResultspublic sealed class CredentialPickerResults
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 IBufferpublic IBuffer Credential { get; }
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.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

CredentialDomainName CredentialDomainName CredentialDomainName CredentialDomainName

Gets the domain name portion of the unpacked credential.

public string CredentialDomainName { get; }public string CredentialDomainName { get; }Public ReadOnly Property CredentialDomainName As stringpublic string CredentialDomainName { get; }
Value
string string string string

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

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

CredentialPassword CredentialPassword CredentialPassword CredentialPassword

Gets the password portion of the unpacked credential.

public string CredentialPassword { get; }public string CredentialPassword { get; }Public ReadOnly Property CredentialPassword As stringpublic string CredentialPassword { get; }
Value
string string string string

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

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

CredentialSaved CredentialSaved CredentialSaved CredentialSaved

Gets the status of the credential save operation.

public bool CredentialSaved { get; }public bool CredentialSaved { get; }Public ReadOnly Property CredentialSaved As boolpublic bool CredentialSaved { get; }
Value
bool 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.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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 CredentialSaveOptionpublic CredentialSaveOption CredentialSaveOption { get; }
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."

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

CredentialUserName CredentialUserName CredentialUserName CredentialUserName

Gets the user name of the unpacked credential.

public string CredentialUserName { get; }public string CredentialUserName { get; }Public ReadOnly Property CredentialUserName As stringpublic string CredentialUserName { get; }
Value
string string string string

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

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

ErrorCode ErrorCode ErrorCode ErrorCode

Gets the value of the error code.

public uint ErrorCode { get; }public uint ErrorCode { get; }Public ReadOnly Property ErrorCode As uintpublic uint ErrorCode { get; }
Value
uint 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.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)