PasswordVault.FindAllByResource(String) PasswordVault.FindAllByResource(String) PasswordVault.FindAllByResource(String) PasswordVault.FindAllByResource(String) PasswordVault.FindAllByResource(String) Method

Definition

Searches the Credential Locker for credentials matching the resource specified.

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

Parameters

resource
String String String

The resource 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.