Vault. Retrieve(String, String) Method
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.
Reads a credential from the Credential Locker.
public: virtual PasswordCredential ^ Retrieve(Platform::String ^ resource, Platform::String ^ userName) = Retrieve;
PasswordCredential Retrieve(winrt::hstring const& resource, winrt::hstring const& userName);
public PasswordCredential Retrieve(string resource, string userName);
function retrieve(resource, userName)
Public Function Retrieve (resource As String, userName As String) As PasswordCredential
The resource for which the credential is used.
The user name that must be present in the credential.
The returned credential that contains all the data.
If a match does not exist, an exception will throw.
Submit and view feedback for