title: Parse.com - How to obtain ParseUser from ParseObject
body: <p>I am trying to retrieve 2 values from my Cloud Code function. A List of ParseUser and a List of ParseObject.</p>
  
  <p>This is a snippet of the Cloud Code.</p>
  
  <pre><code>...
  var finalResult = {"users":users,"groups":groups};
  //users is an array of Parse.User 
  //groups is an array of Parse.Object
  response.success(finalResult);
  </code></pre>
  
  <p>This is the call from the client.</p>
  
  <pre><code>ParseCloud.callFunctionInBackground("serviceUpdate", new HashMap&lt;String, Object&gt;(),new FunctionCallback&lt;HashMap&lt;String, List&lt;ParseObject&gt;&gt;&gt;() {
       public void done(HashMap&lt;String, List&lt;ParseObject&gt;&gt; result, ParseException e) {
         if (e == null) {
           List&lt;ParseObject&gt; users = result.get("users");
           List&lt;ParseObject&gt; groups = result.get("groups");
  </code></pre>
  
  <p>As you can see, <code>users</code> is now a ParseObject. How can I obtain the ParseUser? Any suggestion is appreciated.</p>