Skip to main content
Version: 1.x.x

Working With User Information

Your app can access the currently-viewing Quip user and all other users who can see the document.

  • quip.apps.getViewingUser() returns a quip.apps.User object representing the current viewing user.
  • quip.apps.getDocumentMembers() returns the full list of document members.
    • Note: the document members may not be loaded when your app is initialized, so you'll have to listen on the DOCUMENT_MEMBERS_LOADED event.

Once you have a user object, you can call getId, getName, and getFirstName (see API documentation for details).

Your app can also display user profile pictures like this:

<quip.apps.ui.ProfilePicture user={someUserObject} size={sizeInPx} round={true}/>.