WHFSType::FindObjectsByMemberValue (open)
Find all whfs objects that have a particular value in a specific member. Refer to members in an array as 'arrayname.submembername'. Only works for members of type STRING and WHFSREF. Warning: this function will not return any results when searching for strings of 2048 or more characters.
Syntax
LOADLIB "mod::system/lib/internal/whfs/contenttypes.whlib";
INTEGER ARRAY FUNCTION FindObjectsByMemberValue(STRING membername, VARIANT value, VARIANT options)
Parameters
STRING membername
Name of member to search in
VARIANT value
Value to search for
RECORD options
Options
BOOLEAN findinprivate
Whether to find matches in /webhare-private/. Defaults to FALSE
BOOLEAN matchcase
Whether string compares should be done case sensitive. Defaults to TRUE
Return value
INTEGER ARRAY
List of ids of object that have value @a value in member @a member.