Get Role Members

21 May 2016

  • Release 9.78 - added optional parameter target.

21 December 2014

  • Release 7.34 - added group Corrade permission.

<data Commands> Type: Corrade progressive command Command[wiki]: getrolemembers Description[wiki]: The getrolemembers command returns a CSV list of avatar names by UUID in the specified role. Permissions[wiki]: group Parameters[wiki]: group, password, role Last Changes[wiki]: Release 9.78 - added optional parameter target. </data>

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.