PasswordVault.FindAllByUserName(String) Method
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 that match the user name specified.
public:
virtual IVectorView<PasswordCredential ^> ^ FindAllByUserName(Platform::String ^ userName) = FindAllByUserName;
IVectorView<PasswordCredential> FindAllByUserName(winrt::hstring const& userName);
public IReadOnlyList<PasswordCredential> FindAllByUserName(string userName);
function findAllByUserName(userName)
Public Function FindAllByUserName (userName As String) As IReadOnlyList(Of PasswordCredential)
- userName
-
String
Platform::String
winrt::hstring
The user name to be searched for. If a match does not exist, an exception will throw.
When this method returns, contains an IVectorView of credential objects that match the search criteria.
Each object returned will have the proper resource and user name, but it will not include the password.