Skip to main content

member

The member object provides functions for fetching and utilizing member data.

select

pb.member.select(options, callback)

Loads a user search box in a dialog and calls a return function on finish.

ParamTypeDescription
optionsObjectConfiguration options
[options.title]stringThe title of this dialog.
[options.selected]ArrayAn array of user IDs to start selected.
[options.max]numberThe maximum number of allowed selections; a value of 0 means no maximum.
callbackfunctionFunction to call when members have been selected. The first argument is an array of member IDs.