ll.ManageEstateAccess

ll.ManageEstateAccess(Action: number, AvatarID: uuid) : number

Adds or removes agents from the estate's agent access or ban lists, or groups to the estate's group access list. Action is one of the ESTATE_ACCESS_ALLOWED_* operations to perform. Returns an integer representing a boolean, TRUE if the call was successful; FALSE if throttled, invalid action, invalid or null id or object owner is not allowed to manage the estate. The object owner is notified of any changes, unless PERMISSION_SILENT_ESTATE_MANAGEMENT has been granted to the script.

Example

ll.ManageEstateAccess(15, uuid(<key>))
{
  "def": "func",
  "desc": "Adds or removes agents from the estate's agent access or ban lists, or groups to the estate's group access list. Action is one of the ESTATE_ACCESS_ALLOWED_* operations to perform.\nReturns an integer representing a boolean, TRUE if the call was successful; FALSE if throttled, invalid action, invalid or null id or object owner is not allowed to manage the estate.\nThe object owner is notified of any changes, unless PERMISSION_SILENT_ESTATE_MANAGEMENT has been granted to the script.",
  "energy": 10,
  "sleep": 0,
  "pure": false,
  "link": "https://wiki.secondlife.com/wiki/LlManageEstateAccess",
  "name": "ManageEstateAccess",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "number"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "Action",
          "desc": "One of the ESTATE_ACCESS_ALLOWED_* actions.",
          "type": [
            "integer",
            "number"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "AvatarID",
          "desc": "UUID of the avatar or group to act upon.",
          "type": [
            "uuid",
            "string"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll