Click or drag to resize
PasswordHashValidatePassword Method DataPA OpenAnalytics
DataPA OpenAnalytics API Reference
Validates a password given a hash of the correct one.

Namespace: DataPAServerSecurity
Assembly: DataPAServerSecurity (in DataPAServerSecurity.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static bool ValidatePassword(
	string password,
	string correctHash
)

Parameters

password
Type: SystemString
The password to check.
correctHash
Type: SystemString
A hash of the correct password.

Return Value

Type: Boolean
True if the password is correct. False otherwise.
See Also