IUserManager.CheckPassword Method
Returns a boolean value indicating if Password is the correct password for the specified User.
Syntax
Unit: Sphinx.UserManager
function IUserManager.CheckPassword(User: TUser; const Password: string): Boolean; virtual; abstract;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| User | TUser | The user whose password will be validated. |
|
| const | Password | string | The password to validate. |
Returns
True if the specified password matches the valid one for user, otherwise false.