VistaDB 6
VistaDB.Web Namespace / VistaDBMembershipProvider Class / ValidateUser Method
The name of the user to validate.
The password for the specified user.


In This Topic
    ValidateUser Method
    In This Topic
    Verifies that the specified user name and password exist in the data source.
    Syntax
    'Declaration
     
    
    Public Overrides NotOverridable Function ValidateUser( _
       ByVal username As System.String, _
       ByVal password As System.String _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As VistaDBMembershipProvider
    Dim username As System.String
    Dim password As System.String
    Dim value As System.Boolean
     
    value = instance.ValidateUser(username, password)
    public override System.bool ValidateUser( 
       System.string username,
       System.string password
    )

    Parameters

    username
    The name of the user to validate.
    password
    The password for the specified user.

    Return Value

    true if the specified username and password are valid; otherwise, false.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also