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.
Param | Type | Description |
---|---|---|
options | Object | Configuration options |
[options.title] | string | The title of this dialog. |
[options.selected] | Array | An array of user IDs to start selected. |
[options.max] | number | The maximum number of allowed selections; a value of 0 means no maximum. |
callback | function | Function to call when members have been selected. The first argument is an array of member IDs. |