RPC HELP TVCEdit SilentChangeVerify
From VistApedia
Revision as of 00:07, 6 July 2015 by Kdtop (talk | contribs) (Created page with " RPC Broker Help Home <h2>SilentChangeVerify Function</h2> The SilentChangeVerify function can be used to change the Verify code for a user without any win...")
SilentChangeVerify Function
The SilentChangeVerify function can be used to change the Verify code for a user without any windows being displayed.
function SilentChangeVerify(RPCBroker: TRPCBroker; OldVerify, NewVerify1, NewVerify2: String; var Reason: String): Boolean;
Arguments:
- RPCBroker -- The current instance of the Broker for the account for which the Verify code is to be changed.
- OldVerify -- The string representing the current Verify code for the user.
- NewVerify1 -- A string representing the new Verify code for the user.
- NewVerify2 -- A second independent entry for the string representing the new Verify code for the user.
- Reason -- A string that on return will contain the reason why the Verify code was not changed (if the result value is False).
Result:
The return value indicates whether the Verify code was successfully changed (True) or not (False). If the result is False, the reason for the failure will be in the Reason argument.