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


IUserStore.ValidateUser Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Server)  

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
[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

Product Availability

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

See Also

IUserStore Interface