Get Roles

21 May 2016

  • Release 9.78 - added optional parameter target.

21 December 2014

  • Release 7.34 - added group Corrade permission.
getroles (Commands)
TypeCorrade progressive command
Commandgetroles
DescriptionThe getroles command lists all the roles in a group by name.
Permissionsgroup
Parametersgroup, password
Last ChangesRelease 9.78 - added optional parameter target.

The getroles command lists all the roles in a group by name.

Command Required Parameters Required Corrade Permissions Example
getroles group, password group
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "getroles",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // send results to this url
            "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.

Returned Data

The command returns a CSV list of: