Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter Twenty-oneEDGARView Integration (continued)

EDGARSetUserCredentials Function

Overview

The EDGARSetUserCredentials function will set the required credentials to access the EDGAR Next system.

Syntax/Parameters

Syntax

int = EDGARSetUserCredentials ( string username, string password,
                            string totpsecret, string usertoken );

Parameters

username

The string value for the EDGAR Username. This parameter is limited to 256 characters.

password

The string value for the EDGAR Password. This parameter is limited to 256 characters.

totpsecret

The string value for the TOTP secret. This parameter is limited to 48 characters.

usertoken

The string value for the User API Token. This parameter is limited to 2048 characters.

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

Use of the filing features in no way abrogates the per workstation licensing requirements of application or its components. Use of the filing SDK functions serving commercial production services, web services or large scale filing is prohibited under the standard license agreement unless covered by a separate and specific license agreement.

Temporarily sets the EDGAR Next user credentials, similar to the EDGARSetCredentials function.

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.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE