Response to an array
Is there a way to just store all user id's that are returned in a response to an array so that I can randomly choose a user id on a button click event? Right now I have a service that works and returns all users, but I only need the user ids into an array so I can perform a function to just retrieve one random user id out of the array and then query back to retrieve the username.