Hello All, I have a simple method to get portal users by a role and put them in an array and return the array. Please see codes below. When I call the method and log the result, the array has two objects. But when i log the length of the result array, i got 0. The length should be 2, why 0 was returned? Is this related to the deferred object? I have no idea how to deal with deferred object. Please help!