Legacy v. 2.10.0 PSPI Functions
Proprietary & Confidential
221
ReAssignAccCode()
Stored procedure for changing the access code assigned to a subscriber.
Compatible with v. 1.30.0 or later of the software. Note that, with v. 2.10.0, the
system configuration setting for code length changed from a
maximum
value
constraint to a
minimum
.
Parameters
Specify all parameters. The constraints column shows specific value or range
constraints. For syntax rules and constraints applicable to all parameters, see
Return Values
Parameter
Data Type
Constraints
Description
LocalSubId INT >0
ID of subscriber. Must be in database.
LocalNewAccCode CHAR
(20)
New access code. Can’t be empty string. Must
be
at least
AccessCodeLength characters (set
in SysConfig table).
Data Type
Description
INT
Return code (0: OK; otherwise, error code).