PasswordVault class
Represents a Credential Locker of credentials.
Syntax
var passwordVault = new Windows.Security.Credentials.PasswordVault();
Attributes
- ActivatableAttribute(NTDDI_WIN8)
- DualApiPartitionAttribute()
- MarshalingBehaviorAttribute(Agile)
- ThreadingAttribute(Both)
- VersionAttribute(NTDDI_WIN8)
Members
The PasswordVault class has these types of members:
Constructors
The PasswordVault class has these constructors.
| Constructor | Description |
|---|---|
| PasswordVault | Creates and initializes a new instance of the PasswordVault object. |
Methods
The PasswordVault class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.
| Method | Description |
|---|---|
| Add | Adds a credential to the Credential Locker. |
| FindAllByResource | Searches the Credential Locker for credentials matching the resource specified. |
| FindAllByUserName | Searches the Credential Locker for credentials that match the user name specified. |
| Remove | Removes a credential from the Credential Locker. |
| Retrieve | Reads a credential from the Credential Locker. |
| RetrieveAll | Retrieves all of the credentials stored in the Credential Locker. |
Requirements
|
Minimum supported client | Windows 8 [Windows Store apps, desktop apps] |
|---|---|
|
Minimum supported server | Windows Server 2012 [Windows Store apps, desktop apps] |
|
Namespace |
|
|
Metadata |
|
Build date: 6/19/2013
