Difference between revisions of "RPC HELP TVCEdit SilentChangeVerify"

From VistApedia
Jump to: navigation, search
(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...")
 
 
Line 3: Line 3:
 
The SilentChangeVerify function can be used to change the Verify code for a user without any windows being displayed.
 
The SilentChangeVerify function can be used to change the Verify code for a user without any windows being displayed.
 
 
 +
<h3>Declaration</h3>
 
     function SilentChangeVerify(RPCBroker: TRPCBroker; OldVerify, NewVerify1, NewVerify2: String; var Reason: String): Boolean;
 
     function SilentChangeVerify(RPCBroker: TRPCBroker; OldVerify, NewVerify1, NewVerify2: String; var Reason: String): Boolean;
 
 
 
 
<h3>Arguments:</h3>
 
<h3>Arguments:</h3>
 
* '''RPCBroker''' -- The current instance of the Broker for the account for which the Verify code is to be changed.
 
* '''RPCBroker''' -- The current instance of the Broker for the account for which the Verify code is to be changed.
Line 13: Line 13:
 
* '''Reason''' -- A string that on return will contain the reason why the Verify code was not changed (if the result value is False).
 
* '''Reason''' -- A string that on return will contain the reason why the Verify code was not changed (if the result value is False).
 
 
 
 
<h3>Result:</h3>
 
<h3>Result:</h3>
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.
+
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.

Latest revision as of 18:50, 8 July 2015

RPC Broker Help Home

SilentChangeVerify Function

The SilentChangeVerify function can be used to change the Verify code for a user without any windows being displayed.

Declaration

   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.