PasswordVault.FindAllByUserName(String) PasswordVault.FindAllByUserName(String) PasswordVault.FindAllByUserName(String) PasswordVault.FindAllByUserName(String) PasswordVault.FindAllByUserName(String) Method

Definition

Searches the Credential Locker for credentials that match the user name specified.

public : IVectorView<PasswordCredential> FindAllByUserName(Platform::String userName)
IVectorView<PasswordCredential> FindAllByUserName(winrt::hstring userName) const;
public IReadOnlyList<PasswordCredential> FindAllByUserName(String userName)
Public Function FindAllByUserName(userName As String) As IReadOnlyList<PasswordCredential>(Of PasswordCredential)
var iVectorView = passwordVault.findAllByUserName(userName);

Parameters

userName
String String String

The user name to be searched for. If a match does not exist, an exception will throw.

Returns

IReadOnlyList<PasswordCredential> IReadOnlyList<PasswordCredential> IReadOnlyList<PasswordCredential>

When this method returns, contains an IVectorView of credential objects that match the search criteria.

Remarks

Each object returned will have the proper resource and user name, but it will not include the password.