VistaDB 6
VistaDB.Web Namespace / VistaDBMembershipProvider Class / ResetPassword Method
The user to reset the password for.


In This Topic
    ResetPassword Method
    In This Topic
    Resets a user's password to a new, automatically generated password.
    Syntax
    'Declaration
     
    
    Public Overrides NotOverridable Function ResetPassword( _
       ByVal username As System.String, _
       ByVal passwordAnswer As System.String _
    ) As System.String
    'Usage
     
    
    Dim instance As VistaDBMembershipProvider
    Dim username As System.String
    Dim passwordAnswer As System.String
    Dim value As System.String
     
    value = instance.ResetPassword(username, passwordAnswer)
    public override System.string ResetPassword( 
       System.string username,
       System.string passwordAnswer
    )

    Parameters

    username
    The user to reset the password for.
    passwordAnswer

    Return Value

    The new password for the specified user.
    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