Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / UserPasswordHelper Class / VerifyPassword Method
The clear text password to check for a match
The format of the encoded password
The encoded password to check for a match
In This Topic
    VerifyPassword Method (UserPasswordHelper)
    In This Topic
    Checks the given password to see if it is equal to the encoded password.
    Syntax
    public static bool VerifyPassword( 
       string password,
       string passwordFormat,
       string encodedPassword
    )

    Parameters

    password
    The clear text password to check for a match
    passwordFormat
    The format of the encoded password
    encodedPassword
    The encoded password to check for a match

    Return Value

    True if the passwords are a match; false otherwise
    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