IUserManager.ChangePhoneNumber Method
Changes the user phone number, using the provided phone number change token.
Remarks
This method changes the user phone number to the value specified by NewPhoneNumber, if the Token is a valid phone number chnge token. If the token is invalid, an exception is raised.
Syntax
Unit: Sphinx.UserManager
procedure IUserManager.ChangePhoneNumber(User: TUser; const Token: string; const NewPhoneNumber: string); virtual; abstract;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
User | TUser | The user which the phone number will change. |
|
const | Token | string | The phone number change token to be used. |
const | NewPhoneNumber | string | The new phone number of the user. |