Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.04 KB

passwordvault_add_615680936.md

File metadata and controls

33 lines (20 loc) · 1.04 KB
-api-id -api-type
M:Windows.Security.Credentials.PasswordVault.Add(Windows.Security.Credentials.PasswordCredential)
winrt method

Windows.Security.Credentials.PasswordVault.Add

-description

Adds a credential to the Credential Locker.

-parameters

-param credential

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.

-examples

-see-also

Credential locker, Remove