PasswordHashValidatePassword Method |
|
DataPA OpenAnalytics API Reference
Validates a password given a hash of the correct one.
Namespace: DataPAServerSecurityAssembly: DataPAServerSecurity (in DataPAServerSecurity.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
)
DataPAServerSecurity.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