This document is archived and information here might be outdated. Recommended version. |
Validates the credentials of the user against the user store.
[Visual Basic .NET]
Public Function ValidateUser ( _
ByVal UserName As String, _
ByVal Password As String _
) As Boolean
[C#]
public bool ValidateUser (
string UserName,
string Password
);
[C++]
HRESULT ValidateUser(
BSTR UserName,
BSTR Password
);
[C++] Parameters UserName [in]
UserName is a parameter of type BSTR Password [in]
Password is a parameter of type BSTR