PasswordVault.FindAllByResource(String) Method

Definition

Searches the Credential Locker for credentials matching the resource specified.

public:
 virtual IVectorView<PasswordCredential ^> ^ FindAllByResource(Platform::String ^ resource) = FindAllByResource;
IVectorView<PasswordCredential> FindAllByResource(winrt::hstring const& resource);
public IReadOnlyList<PasswordCredential> FindAllByResource(string resource);
function findAllByResource(resource)
Public Function FindAllByResource (resource As String) As IReadOnlyList(Of PasswordCredential)

Parameters

resource
String

Platform::String

winrt::hstring

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

Returns

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.

Applies to