Export cloud users to an Excel CSV file
The export-users.py python script allows cloud administrators to export a list of users to an Excel CSV file. The script relies on the Public REST API.
Requirements:
- Install Python version 2 or 3 on your workstation. For details, see https://docs.python.org/2/faq/windows.html.
-
Open the export-users.py file in Notepad and do the following:
-
Add your security token.
-
Add your cloud name.
-
Modify
include_perfecto_users
toTrue
orFalse
. -
Modify
responseFields
, depending on the user fields you want to get. For details, see Legacy | Get User List.
-
Copy
Example run in Command prompt on Mac OS
start Terminal
Save the file on Desktop for example
navigate to the file directory: cd Desktop
type: python export-users.py
Upon successful completion, the script will generate a file called users.csv
, which can then be opened in Excel.