![]() ![]() |
GoFiler Legato Script Reference
Legato v 1.6f Application v 6.4a
|
| Table of Contents | < < Previous | Next >> |
Chapter Twenty-four — EDGARView Integration (continued)
Overview
The EDGARSetCredentials function temporarily sets the EDGAR System access credentials.
Syntax/Parameters
Syntax
int = EDGARSetCredentials ( string cik, string ccc, string filertoken, string username,
string
password, string totpsecret, string usertoken);
Parameters
cik
A string containing a CIK. The string must conform to CIK syntax. If the value exceeds 256 characters, a runtime error will occur.
ccc
A string containing a matching CIK Confirmation Code (CCC) for the CIK. The string must conform to CCC syntax. If the value exceeds 256 characters, a runtime error will occur. This value can be encrypted. See remarks.
filertoken
A string containing the SEC API Token for the filer. If the value exceeds 1MB, a runtime error will occur. This value can be encrypted. See remarks.
username
A string containing the Login.gov Username. If the value exceeds 512 characters, a runtime error will occur. This value can be encrypted. See remarks.
password
A string containing a matching password for the username. If the value exceeds 256 characters, a runtime error will occur. This value can be encrypted. See remarks.
totpsecret
A string containing the TOTP secret for the Login.gov username. If the value exceeds 256 characters, a runtime error will occur. This value can be encrypted. See remarks.
usertoken
A string containing the SEC API Token for the user. If the value exceeds 1MB, a runtime error will occur. This value can be encrypted. See remarks.
Return Value
An int as ERROR_NONE or a formatted error code on failure. The formatted error code will be ERROR_RANGE with the number of the offending field. Use the GetLastError and GetLastErrorMessage functions to retrieve additional error information.
Remarks
If any parameter is an empty string, the value is not adjusted. All strings are automatically trimmed for leading and trailing spaces prior to testing and storage. The CIK is automatically zero padded to make a ten-digit value.
The values are not validated against the EDGAR system. The username and password are required for login and the CIK and CCC are required for accessing any company information such as mailbox messages through the EDGAR System. If the API Tokens are provided they will be used instead of the username and password for most EDGAR operations.
For parameters that allow encrypted values take the value created by the application preferences in the settings INI file.
Proper security precautions should be employed when storing and using CCCs and passwords. This function abides by the Secure Memory Model. This function supports encrypted values from the application settings.
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE
Page revised 2026-01-05
| Table of Contents | < < Previous | Next >> |
© 2012-2025 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission is prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. Novaworks, GoFiler™ and Legato™ are registered trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are the property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.