Get Role Members

21 May 2016

  • Release 9.78 - added optional parameter target.

21 December 2014

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

The getrolemembers command returns a CSV list of avatar names by UUID in the specified role.

Command Required Parameters Required Corrade Permissions Example
getrolemembers group, password, role group
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // returns the members of the
            // "Officers" role in the group
            "command", "getrolemembers",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "role", "Officers",
            "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.