Imports data into an existing repository.
You can import data in text formats, either created manually or created by the Export action.
http://12.3.4.56:4000/action=Import
&repository=NT
&filename=c:\NT\datastore.txt
This action uses port 4000 to instruct the group server located on a computer with the IP address 12.3.4.56 to import c:\NT\datastore.txt into the NT repository and to overwrite any information currently in the NT repository.
http://12.3.4.56:4000/action=Import
&repository=NT
&filedata=%23USER%20DOMAIN%5CJSMITH%0A%23MEMBEROF%20DOMAIN%5CUSERS
This example adds user DOMAIN\JSMITH to group DOMAIN\USERS.
| Parameter | Description | Required |
|---|---|---|
| Batch | Imports large amount of data in smaller chunks. | |
| EncryptFileData |
The Import action encrypts data that is output to a file (using the output action parameter). You can disable encryption by setting this parameter to false.
|
|
| EncryptResponse | Encrypt the output. | |
| FileAction | Determines how existing data is treated during an import. | |
FileData
|
The information to import into the repository (URL encoded). You can set this parameter as an alternative to FileName. |
You must set either FileName or FileData. |
| FileName | The file containing information to import. The file must use UTF-8 character encoding. | You must set either FileName or FileData. |
| ForceTemplateRefresh | Forces the server to load the template from disk. | |
| Output | Write output to a file. | |
| Repository | The repository into which you want to import information. | Yes |
| Template | The template to use for the action output. | |
| TemplateParamCSVs | A list of variables to use for the specified template. | |
| TextSection | Can overwrite or append (see FileAction) to existing data during an import. |
|
|