- The $ART_HOST variable in the URLs should be replaced with the actual Artifactory host. In addition, the credentials in both cURL requests should be changed to the actual credentials of your Artifactory instance.
- The /path/to/user_result.json and /path/to/users.json paths should be replaced with the paths you wish to create these files under.
The output of the script will be a list of usernames, and will look similar to this:
['admin', 'elinaf', 'testuser@test.com', 'jsonk@test.com', 'jamesp']