Here is an example of how this works. Be sure to require the "jive-core-v2" feature, which is necessary to use this API.
If user cancels the dialog without picking a user, no callback will be called.
Choosing a single user:
Choosing multiple users: