member
Contains utility functions for dealing with members.
Methods:
selectDirect Link
select
( [options], callback )Loads a user search box in a dialog and calls a return function on finish.
Note: Only admins will be able to access this function.
Note: Only admins will be able to access this function.
Parameters
-
[options]
Object
Optional
Additional options:
-
[title]
String
Optional
The title of this dialog box.Defaults To: User Selection
-
[selected]
Array
Optional
An array of user IDs to start selected.
-
[max]
Number
Optional
The maximum number of allowed selections; a value of 0 means no maximum.
-
[title]
String
Optional
-
callback
Function
Function to call when members have been selected. The first argument is an array of member IDs.