Is there the ability to pull 'All Users' from the KACE API?
I need to be able to reference the KACE Users via their 'ID' and was wondering the easiest way to do this via the API?
Under the 'User API Reference' section of documentation, it gives you how to retrieve your logged in ID (GET /api/users/me) but I need the ID of all configured users for querying purposes.
I tried downloading the list to a CSV but that did not have it either.
Any help would be appreciated.
Thank you
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
KevinG
4 years ago
Unfortunately, an API to retrieve all users does not exist at this time.
There is a feature report already on file to implement this in a future release.Comments:
-
Thank you for the answer. I appreciate the prompt response. - Antmanarmy 4 years ago
-
I should have mentioned this in my previous post. There is the possibility of retrieving user info and save it in csv format with a simple SQL report. What particular info do you want in the csv file? - KevinG 4 years ago
-
I just need the User 'ID' (Integer Number) so that I can associate it with elements from the 'Assets' API...
Thank you - Antmanarmy 4 years ago
-
* Go to Reporting › Reports
* Select "New (SQL) from the "Choose Action" menu.
* In the "Title" field give the report a name of your choice.
* In the SQL field copy and paste the following SQL statement.
select id from USER;
*Save the report.
* Find the newly created report in the list of reports and select to run the report in CSV.
You can save the report. - KevinG 4 years ago