Go to the table of contents Go to the previous page Go to the next page View or print as PDF
General System Settings > User directory settings > Importing user entries from a CSV file
Importing user entries from a CSV file
Administrator Help | Forcepoint DLP | Version 8.5.x
User directories information can be imported via CSV files. To do this, generate a set of files in a specific structure, as follows:
1.
2.
Click New in the toolbar at the top of the Settings > General > User Directories page.
3.
Select CSV File in the Type field.
4.
5.
6.
7.
Each time you want to import user, group, or computer data from the CSV files, go to the Settings > General > User Directories page and click Import Now in the toolbar at the top of the page.
CSV file formatting
When creating user directory files in CSV format, ensure that these conditions are met:
*
Use the UTF-8 character set or use a character set that is supported by its JVM installation.
*
*
*
a.
b.
*
*
Groups file format
Each row in the groups.csv file should contain:
For example:
08b3b46b-3631-46cb-adc7-176c2871e94c,Marketing - EMEA, Marketing department,7c9d4db6-1737-4b80-9e6e-42f415300a05
 
40632a33-db39-4f93-bd80-093e0b3230ca,Marketing - APAC, Marketing department,7c9d4db6-1737-4b80-9e6e-42f415300a05
 
7c9d4db6-1737-4b80-9e6e-42f415300a05,Marketing all,All Marketing departments
Users file format
Each row in the users.csv file should contain:
User records can also have additional attributes in the form of name value pairs. Some of these attributes have predefined names (see below). A file containing an additional attribute should be defined as a regular expression of the following format:
[aA][tT][tT][rR]:(.+)/=/(.+)
Any name can be used for custom attributes. The attributes are stored as an associated array on the user object, and are used only for display. Examples include:
*
*
*
*
*
*
*
The table below illustrates some attributes:
For example:
6278ab76-2ce2-4f16-8e49-aa5104da7d0b, jdoe-mgr, jdoe.manager@example.com,CEO,7c9d4db6-1737-4b80-9e6e-42f415300a05,attr:room/=/201,attr:parkingSpace/=/1
 
ff255105-4e43-4e9a-b2bd-e366872cd212, jdoe, jdoe@example.com, administrator, 6278ab76-2ce2-4f16-8e49-aa5104da7d0b,"08b3b46b-3631-46cb-adc7-176c2871e94c;7c9d4db6-1737-4b80-9e6e-42f415300a05",attr:room/=/101
Computers file format
Each row in computers.csv should contain:
For example:
379a287f-0a5c-40ff-85fd-fae3da462d03,gumby, gumby.example.com, print server,"7c9d4db6-1737-4b80-9e6e-42f415300a05"

Go to the table of contents Go to the previous page Go to the next page View or print as PDF
General System Settings > User directory settings > Importing user entries from a CSV file
Copyright 2017 Forcepoint. All rights reserved.