You can use this Get Users List REST API to list all the users in Artifactory and along with this REST API, you can add the onlyAdmins query parameter to fetch the list of only the Admin users in Artifactory.
Below is the example for your reference :
dineshs@dineshs-mac ~ % curl -X GET -H "Authorization: Bearer cmVmdGtuOjAxOjAwMDAwMDAwMDA6ODhkZGxUWFczT3I4ajFGcmZmVEUzUjl5STYy" "https://test.jfrog.com/access/api/v2/users?onlyAdmins=true"
{
"users" : [ {
"username" : "admin",
"realm" : "internal",
"status" : "enabled",
"uri" : "/access/api/v2/users/admin"
}, {
"username" : "testadm1",
"realm" : "internal",
"status" : "enabled",
"uri" : "/access/api/v2/users/testadm1"
} ],
"cursor" : "testadm1"
}%
dineshs@dineshs-mac ~ %
Please be informed that the above REST API requires admin authentication using Access Tokens.