IUserManager.AddPassword Method
Adds a new password for a user, if there is no current password set.
Remarks
This method adds a new user password. If the user already has a password, an exception is raised.
Syntax
Unit: Sphinx.UserManager
procedure IUserManager.AddPassword(User: TUser; const Password: string); virtual; abstract;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| User | TUser | The user to add the password for. |
|
| const | Password | string | The new user password. |