PasswordVault.FindAllByResource(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.