Get Profile Data for Multiple Avatars

18 March 2017

  • Corrade 9.160 - added.
getprofilesdata (Commands)
TypeCorrade progressive command
Commandgetprofilesdata
DescriptionThe getprofilesdata retrieves profile information of all avatars on a specified simulator or on all connected simulators.
Permissionsinteract
Parametersgroup, password, data
Last ChangesCorrade 9.160 - added.

The getprofilesdata gets profile information of a named avatar.

Command Required Parameters Required Corrade Permissions Example
getprofilesdata group, password, data interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // retrieve the BornOn date
            // and rating of all the
            // avatars on all currently
            // connected simulators
            "command", "getprofilesdata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "data", wasListToCSV(
                [
                    "MaturePublish",
                    "BornOn"
                ]
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);

The data parameter follows the AvatarProperties and ProfileInterests libopenmetaverse structures and sub-structures.

Optional Parameters Possible Value Description
region The case-insensitive name of the region to query. If the region parameter is provided, then Corrade will query the specified region. Otherwise, all the connected regions (neighbouring regions) will be queried for data.

The SkillsMask and the SkillsText are special - please see the singular form getprofiledata for a tutorial on how to process the bitfields using the wasSetBitFlags function.

Notes


secondlife/scripted_agents/corrade/api/progressive/commands/getprofilesdata.txt ยท Last modified: 2017/06/19 07:23 by Wizardry and Steamworks

Access website using Tor


For the copyright, license, warranty and privacy terms for the usage of this website please see the license and privacy pages.