SecureString.appendSecureString(options)
Method Description |
Appends one https.SecureString to another https.SecureString. |
Returns |
A converted https.SecureString (not a new SecureString). |
Supported Script Types |
Server scripts For more information, see SuiteScript 2.x Script Types. |
Governance |
None |
Module |
|
Since |
2015.2 |
Parameters
The options
parameter is a JavaScript object.
Parameter |
Type |
Required / Optional |
Description |
---|---|---|---|
|
required |
The https.SecureString to append. |
|
|
boolean |
optional |
Keeps the appended string in its original encoding. Set this value to true to prevent unexpected content re-encoding. The default value is false. |
Errors
Error Code |
Thrown If |
---|---|
|
The |
|
The |
Syntax
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/https Module Script Samples.
// Add additional code
...
var secureString1 = https.createSecureString({
input: "myString1"
});
var secureString2 = https.createSecureString({
input: "myString2"
});
secureString1.appendSecureString({
secureString: secureString2,
keepEncoding: true
});
// secureString1 will now be "myString1myString2"
...
// Add additional code