Page tree
Skip to end of metadata
Go to start of metadata

The "people" query returns a collection of Person objects. The "people" query can accept various attributes - a list of person IDs, part of a name, or pagination options.


Queries from an application-authenticated WWClient can only use a list of IDs as an attribute. A query using any other attribute (or no attributes at all) from application-authenticated WWClient just return an HTTP 500 error. This is because those queries are looking for people within your organisation. But an application does not have an organisation.

The class has two simple static helper methods available:

  • buildPersonQueryById(List<String>)
  • buildPersonQueryByName(String)

Similar methods are also available from WWClient and WWGraphQLEndpoint.

For greater control, create an ObjectDataSenderBuilder for the Person.PEOPLE_QUERY_OBJECT_NAME object, adding attributes as appropriate, passing in Person fields and children. Instantiate a new PeopleGraphQLQuery passing in the ObjectDataSenderBuilder as the parameter. Then pass this to WWClient.getPeopleWithQuery(). SInce 0.8.0 you can also pass this to WWClient.getPeopleContainerWithQuery(). The first one just returns the List of Person objects, the second one gives access to the MembersContainer, which gives access to the PageInfo object and the List of Person objects.


Basic getPeopleById
    ArrayList<String> ids = new ArrayList<String>();

    List<Person> peopleResult = client.getPeople(ids);
Basic getPeopleByName
    List<Person> peopleResult = client.getPeopleByName("Paul");
    ObjectDataSenderBuilder query = new ObjectDataSenderBuilder(Person.PEOPLE_QUERY_OBJECT_NAME, true);
    query.addAttribute(BasicPaginationEnum.FIRST.getLabel(), 10);

	List<Person> peopleResult = client.getPeopleWithQuery(new PeopleGraphQLQuery(query));
getPeopleContainerWithQuery - since 0.8.0
    ObjectDataSenderBuilder query = new ObjectDataSenderBuilder(Person.PEOPLE_QUERY_OBJECT_NAME, true);
    query.addAttribute(BasicPaginationEnum.FIRST.getLabel(), 10);

	MembersContainer peopleResult = client.getPeopleContainerWithQuery(new PeopleGraphQLQuery(query));
    PageInfo pageInfo = peopleResult.getPageInfo();
    List<Person> people = peopleResult.getItems();


  1. Anonymous

    I appreciate the positive approach to a balanced improvement set up. Somewhat is that the same sense as memorizing several formulas isn't a important side of learning mathematics, developing ability in winding up procedures by hand isn't any longer a key side of learning mathematics. I am working as an academic consultant and offer best dissertation writing service for college students.

  2. Anonymous

    Discussion is intelligent correspondence between at least two individuals. The improvement of conversational abilities and Assignment Writing Service UK decorum is a significant piece of socialization. The advancement of conversational aptitudes in another dialect is an incessant focal point of language educating and learning.

  3. Anonymous

    Java has been around for quite a while, and in the course of recent years it has experienced noteworthy changes to keep Help With Accounting Homework it pertinent. It is as yet the most well known programming language among engineers, as per jetbrains' state of developer ecosystem in 2019 report. In any case, it may not clutch that title until the end of time.

  4. Anonymous

    The eco framework around it is correspondingly dull including the Online Dissertation Help bluntest deliberation at any point made, and promoted by java ... Xml! Spring, eclipse, maven, ant and different apparatuses in the eco framework mirror this bluntness, which make the entire java experience a fairly exhausting and unremarkable one.

  5. Anonymous

    Profit best task composing administrations under the direction of specialists. Get our Online Assignment Writing Service task composing help administrations 24x7 with on-time conveyance. Profit online task composing administrations in USA from our best composing specialists. We give 100% unoriginal free answer for your task.

  6. Anonymous

    The top task composing administration you have been searching Animated Explainer Video Companies for is here. Snap here to discover the scope of controls we would be glad to assist you with. Ph.D writers you can trust. You care about your evaluations. Giving your task keeping in touch with somebody on the web may appear to be crude.

  7. Anonymous

    Thank you for sharing such professional advice here. For many, such issues remain relevant today. In my opinion, the development of information technology opens new opportunities for everyone, even as a student I can not imagine write dialogue, ways to write dialogue without qualified help.

  8. Anonymous

    This is very informative and knowledgeable information you shared with us. I was stuck writing People Object Query I could not see any solution what to do and after looking at your post I found the solution to all the problems. Thanks!! Regards, Custom coursework writing service

  9. Anonymous

    So an individual does likewise they do with the old variant, with a Goldman. A Do My Assignment For Me perimeter is an individual who gauges the visual field with a machine.

  10. Anonymous

    Much appreciated such a great amount for this data. I need to tell you I agree on a few of the focuses you make here and others might require some further survey, however I can see your perspective. Clothing Shop discount codes

  11. Anonymous

    Emirati coffee is a big coffee wholesaler and supplier in UAE provide highest quality speciality coffee beans through direct trade with over 82 coffee producing countries.

    best coffee beans supplier Abu Dhabi

  12. Anonymous

    LOCAL is an independent life-style concept store that combines a specialty cafe, best cafe abu dhabi, men's barbershop and an exclusive sneaker & street wear consignment store. And here is why, let me break it down for you.

  13. Anonymous

    Electra has been partnered with renowned lighting, ventilation, wiring accessories, kdk ceiling fan and electrical system manufacturers since 1965.

  14. Anonymous

    Italian food has triumphed at all levels around the world, in temples of gourmet dining as well as in cafes, pizza parlors, wine bars, fancy food shops, supermarkets and corner groceries. Innovation and respect for the original taste and recipe are the only wat to produce authentic. The Company of IL FORNO was born 18 years ago and since that time we are following the same philosophy we brought to Abu Dhabi the highest standard of Italian cuisine.
    Website:  Italian pizza in al ain
    Address: Dubai, Abu Dhabi, UAE

  15. Anonymous

    Digital Marketing in Karachi is an online digital agency who give different quality digital services to our esteemed clients.

  16. Anonymous

    Thanks for sharing helpful English Writing tips. Moreover, if you're looking for Essay Writing Service in USA. I will highly recommend.

    Custom Assignment Help

  17. Anonymous

    Writing research papers and essays takes a number of time and power to do right. To a little amount down an excellent essay, you have to plot at least each week or two in advance, what you need to write down around and the resources you are going to use. Then you need to without a doubt write, edit, and turn it in by the deadline. However, this can be very hard to do when you have to turn in numerous essays at one time as maximum college students do around midterms or finals. With lot paintings to do, it could be nearly not possible to turn in as desirable of an essay as you would love.

    Mba Assignments

  18. Anonymous

    The coolest information is that there are extremely good assignment writing services. We write not anything besides custom essays and papers regular which are tailored for our clients in keeping with their genuine commands.

    Prime Assignment

  19. Anonymous

    So it's very important how we think of sweets as a source of joy or as fat pads on our waist - of course, this shouldn't be exaggerated either, I'm not branching out against planned crimes, but against those that our spontaneous moods can cause 

  20. Anonymous

    Bridge City is a Reputable Cabinetry & Renovations Contractor. We Provide Services in IKEA Kitchen Design and Construction. We are a Quality Renovation Contractor that Renews and Brings Life back to Existing Properties no Matter what kind of Space you are Looking to Renovate: Bathrooms, Living Rooms, Kitchens, or Other Living Spaces.

  21. Anonymous

    Ramma foundation is a company and a foundation that provide crack repair snow remove and gutter clean service. We are the crack repair foundation in Alberta Edmonton. We provide services like crack repair, gutter clean services, show removal, in short we are the foundation repair in Edmonton. If you are worried about the cracks on your home do not worry we are here to get it repair. If you are worried about snow on your roof, we can remove it. We are here to clean you gutter.

  22. Anonymous

    We are a visible and SEO Services in Pakistan leading to a considerable increase of sales, profitability, and cost efficiency for our clients.

  23. Anonymous

    We Noon Calligraphy can make customize Islamic Arabic Calligraphy Design, Arabic Logo or any Arabic Calligraphy Design. We have Canvas Printing, Oil Painting, Gold Foiling and handmade Wall Art Painting with frame.

Write a comment…