VistaDB 6
VistaDB.Web Namespace / VistaDBMembershipProvider Class / GetPassword Method
The user to retrieve the password for.
The password answer for the user.


In This Topic
    GetPassword Method
    In This Topic
    Gets the password for the specified user name from the data source.
    Syntax
    'Declaration
     
    
    Public Overrides NotOverridable Function GetPassword( _
       ByVal username As System.String, _
       ByVal answer As System.String _
    ) As System.String
    'Usage
     
    
    Dim instance As VistaDBMembershipProvider
    Dim username As System.String
    Dim answer As System.String
    Dim value As System.String
     
    value = instance.GetPassword(username, answer)
    public override System.string GetPassword( 
       System.string username,
       System.string answer
    )

    Parameters

    username
    The user to retrieve the password for.
    answer
    The password answer for the user.

    Return Value

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