Skip to main content
CredentialPickerOptions.CallerSavesCredential | callerSavesCredential property

Gets or sets whether the caller wants to save the credentials.

Syntax


var callerSavesCredential = credentialPickerOptions.callerSavesCredential;
credentialPickerOptions.callerSavesCredential = callerSavesCredential;

public bool CallerSavesCredential { get; set; }

Public Property CallerSavesCredential As Boolean

public:
property bool CallerSavesCredential { 
   bool get();
   void set (bool value);
}

Property value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

Gets or sets whether the caller wants to save the credentials. The default value is False.

Remarks

If CallerSavesCredential is False and the user checks the Save Credentials check box, the entered credentials are stored in Credential Manager by default. However, if CallerSavesCredential is set to True and the user checks the Save Credentials check box, it is up to caller to store the entered credentials securely. For secure credential storage, please refer to Credential Locker.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

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

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Security.Credentials.UI
Windows::Security::Credentials::UI [C++]

Metadata

Windows.winmd

See also

CredentialPickerOptions