03 June 2016

The getavatargroupsdata command can be used to query information on groups that an agent belongs to based on the AvatarGroup structure. The command is the plural form of the getavatargroupdata command.

CommandRequired ParametersRequired Corrade PermissionsExample
getavatargroupsdatagroup, password, data, firstname, lastname (or agent by UUID)group
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // Get all the group titles and
            // whether the groups are listed
            // in the profile for the avatar
            // named Zedan Salik
            "command", "getavatargroupsdata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "firstname", "Zedan",
            "lastname", "Salik",
            "data", wasListToCSV(
                [
                    "GroupTitle", 
                    "ListInProfile"
                ]
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);