Get Roles Members

21 May 2016

  • Release 9.78 - added optional parameter target.

21 December 2014

  • Release 7.34 - added group Corrade permission.
getrolesmembers (Commands)
TypeCorrade progressive command
Commandgetrolesmembers
DescriptionThe getrolesmembers command returns a CSV list of role names by avatar names by UUID in the group.
Permissionsgroup
Parametersgroup, password
Last ChangesRelease 9.78 - added optional parameter target.

The getrolesmembers command returns a CSV list of role names by avatar names by UUID in the group.

Command Required Parameters Required Corrade Permissions Example
getrolesmembers group, password group
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "getrolesmembers",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "callback", wasURLEscape(URL)
        ]
    )
);
Optional Parameter Possible Value Description
target A group name or UUID. The group to act upon. If this parameter is omitted, then the command acts upon the configured group passed to the group parameter.

The Everyone role is excluded from the output and getmembers command can be used to retrieve all the members of the group and then filter that list with the output from getrolesmembers.