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 membernameName of member to search in
VARIANT valueValue to search for
RECORD optionsOptions
BOOLEAN findinprivateWhether to find matches in /webhare-private/. Defaults to FALSE
BOOLEAN matchcaseWhether string compares should be done case sensitive. Defaults to TRUE
Return value
INTEGER ARRAYList of ids of object that have value @a value in member @a member.