Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PasswordVault.Add(PasswordCredential) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Adds a credential to the Credential Locker.

public:
 virtual void Add(PasswordCredential ^ credential) = Add;
void Add(PasswordCredential const& credential);
public void Add(PasswordCredential credential);
function add(credential)
Public Sub Add (credential As PasswordCredential)

Parameters

credential
PasswordCredential

The credential to be added.

Remarks

You can only store up to 20 credentials per app in the Credential Locker. If you try to store more than 20 credentials, you will encounter an Exception.

Note

The limit of 20 credentials per app only applies when using the Credential Locker from a UWP app or from a desktop app running in an AppContainer.

Applies to

See also


Feedback

Was this page helpful?