WRDEntity2017::VerifyPassword (open)

Tests if a password is correct, can be used on password and authenticationsettings attributes

Syntax

LOADLIB "mod::wrd/lib/internal/wrdentity.whlib";

BOOLEAN FUNCTION VerifyPassword(STRING attrtag, STRING testvalue)

Parameters

STRING attrtag

Tag of the attribute with the password

STRING testvalue

Password to test

Return value

BOOLEAN

TRUE if 'testvalue' is the correct password