Members |
The members file specifies in JSON format a list of user accounts, their passwords and their definition of the backing data container. Each member consists of four elements:
•Username: user name for FTP access.
•Password: password of the FTP user.
•Provider: code name of an available provider.
•ConnectionString: data required to establish the connection to the data container, including authentication.
The provider and connection string are identical to the definition of a data container in an Invantive SQL database definition in a settings*.xml file. The provider code can be found in the data model documentation as 'Code for use in settings.xml'. The connection string consists of key/value pairs. The available key names can be found also in the data model documentation under the heading 'Connector Attributes'.
Example Exact Online
The following members JSON file specifies two user accounts, each connecting to another Exact Online environment using the Code Grant flow:
{ "Members":
[ { "Username": "ftp-user-code-1"
, "Password": "something-secret"
, "Provider": "ExactOnlineAll"
, "ConnectionString": "api-url=https://start.exactonline.nl;api-client-id=abc-def-ghi;api-redirect-url=https://exactonlineclientredirect.invantive.com;api-client-secret=secret;api-refresh-token=abcdefghijklmnopqrstuvwxyz"
}
, { "Username": "ftp-user-code-2"
, "Password": "more-secret-stuff"
, "Provider": "ExactOnlineAll"
, "ConnectionString": "api-url=https://start.exactonline.nl;api-client-id=...;api-redirect-url=https://exactonlineclientredirect.invantive.com;api-client-secret=secret;api-refresh-token=..."
}
]
}