VistaDB 6
VistaDB.Web Namespace / VistaDBMembershipProvider Class / UnlockUser Method
The membership user whose lock status you want to clear.


In This Topic
    UnlockUser Method
    In This Topic
    Clears a lock so that the membership user can be validated.
    Syntax
    'Declaration
     
    
    Public Overrides NotOverridable Function UnlockUser( _
       ByVal userName As System.String _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As VistaDBMembershipProvider
    Dim userName As System.String
    Dim value As System.Boolean
     
    value = instance.UnlockUser(userName)
    public override System.bool UnlockUser( 
       System.string userName
    )

    Parameters

    userName
    The membership user whose lock status you want to clear.

    Return Value

    true if the membership user was successfully unlocked; 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