You can obtain the list of users with the getUsers method.
Permission to run the request: Account Owner, Administrator, Organization Administrator.
|credentials (required)||credentials||Read the description of the Credentials object.|
|groupId (optional)||string||If specified, this method selects users belonging to a specific group.|
|organizationId (optional)||int||If specified, this header selects users belonging to a specific organization.|
After the request has been completed, the system returns an object with the following properties:
|users||UserProfile||Array of user profiles. The UserProfile object has the same properties as the getUserProfile method.|
The user doesn't have enough permissions to handle the request.
For example, an organization admin can't request info about users from another organization.