Forum Discussion

aamerc's avatar
aamerc
Frequent Visitor
6 months ago

Getting list of all users via cli cmd

Hi Team - I need to retrieve a complete list of all users in our Collaborator system for administrative purposes. However, I'm encountering syntax errors when attempting to use both the CLI and documentation-suggested commands. I've tried "ccollab admin user list" but not getting anything.

 

What is the correct CLI syntax for listing all users in Collaborator v14.4.14401?

Is there a JSON API endpoint to retrieve all users? If so, could you provide the exact syntax?

 

Thank you.

1 Reply

  • >>Is there a JSON API endpoint to retrieve all users? If so, could you provide the exact syntax?

    Yes, we do have an API call to get a list of users:

    [
      {
        "command": "SessionService.authenticate",
        "args": {
          "login": "USERNAME",
          "ticket": "LOGINTICKET"
        }
      },
      {
        "command": "UserService.getUserList"
      }
    ]