findMembers

Description

Searches for members by email address, username or display name (real name).

Syntax

array findMembers (string $names[, bool $use_wildcards])



Parameter $names

Expected type: String
Description: The search string



Parameter $use_wildcards

Expected type: Boolean
Description: Whether or not we're using wildcards



Return value

Expected type: Array of arrays
Description: An array of arrays, each containing info about the members that were found, or an empty array if no members were found. The keys are the member IDs, and each array within the array has 'id' (member ID), 'email', 'href' (URL to user's profile), 'link' (HTML code for display a link to the profile), 'name' (display name) and 'username'


Notes

  • Called from JSMember() to find members based on the input
Advertisement: