This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IU > IUserStore Interface > IUserStore.ValidateUser Method (ArcObjects .NET 10.5 SDK) |
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,
VARIANT_BOOL* isValid
);
[C++]
Parameters UserName [in] UserName is a parameter of type BSTR Password [in] Password is a parameter of type BSTR isValid [out, retval] isValid is a parameter of type VARIANT_BOOL