PasswordHashValidatePassword Method |
|
DataPA OpenAnalytics API Reference
Validates a password given a hash of the correct one.
Namespace: DataPA.Utils.QueryEngineAssembly: DataPAQueryEngine (in DataPAQueryEngine.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static bool ValidatePassword(
string password,
string correctHash
)
Public Shared Function ValidatePassword (
password As String,
correctHash As String
) As Boolean
public:
static bool ValidatePassword(
String^ password,
String^ correctHash
)
DataPA.Utils.QueryEngine.PasswordHash.ValidatePassword = function(password, correctHash);
Parameters
- password
- Type: SystemString
The password to check. - correctHash
- Type: SystemString
A hash of the correct password.
Return Value
Type:
BooleanTrue if the password is correct. False otherwise.
See Also