Ce sujet n'a pas encore été évalué - Évaluez ce sujet

PasswordVault Class

Représente un casier des informations d'identification contenant des informations d'identification.

Syntaxe


var passwordVault = new Windows.Security.Credentials.PasswordVault();

Attributs

ActivatableAttribute(NTDDI_WIN8)
DualApiPartitionAttribute()
MarshalingBehaviorAttribute(Agile)
ThreadingAttribute(Both)
VersionAttribute(NTDDI_WIN8)

Membres

PasswordVaultClasse comporte les types de membres suivants :

Constructeurs

PasswordVaultClasse comporte les constructeurs suivants.

ConstructeurDescription
PasswordVault Creates and initializes a new instance of the PasswordVault object.

 

Méthodes

The PasswordVault Classe comporte les méthodes suivantes. Avec C#, Visual Basic et C++, il hérite également des méthodes de Object Classe.

MéthodeDescription
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.

 

Configuration requise

Client minimal pris en charge

Windows 8 [Applications du Windows Store, applications de bureau]

Serveur minimal pris en charge

Windows Server 2012 [Applications du Windows Store, applications de bureau]

Espace de noms

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

Métadonnées

Windows.winmd

 

 

© 2013 Microsoft. Tous droits réservés.