This document is archived and information here might be outdated.  Recommended version.

IUserStore.ValidateUser Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IU > IUserStore Interface > IUserStore.ValidateUser Method
ArcGIS Developer Help

IUserStore.ValidateUser Method

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
public bool ValidateUser (
    string UserName,
    string Password
HRESULT ValidateUser(
  BSTR UserName,
  BSTR Password
UserName [in]

UserName is a parameter of type BSTR Password [in]
Password is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IUserStore Interface