LlManageEstateAccess
Looking for the current API? Open the llManageEstateAccess reference →
Wiki description
Use to add or remove agents from the estate's agent access or ban lists or groups from the estate's group access list.
Function notes
Only works for objects owned by the Estate Owner or an Estate Manager. By default, the object owner is notified of every change made using this function. But if the owner grants PERMISSION_SILENT_ESTATE_MANAGEMENT to the script, the owner will not be notified.
Return value notes
Specification
action flag | V | Description |
|---|---|---|
| ESTATE_ACCESS_ALLOWED_AGENT_ADD | 0x4 | Add the agent to this estate's Allowed Residents list. |
| ESTATE_ACCESS_ALLOWED_AGENT_REMOVE | 0x8 | Remove the agent from this estate's Allowed Residents list. |
| ESTATE_ACCESS_ALLOWED_GROUP_ADD | 0x10 | Add the group to this estate's Allowed groups list. |
| ESTATE_ACCESS_ALLOWED_GROUP_REMOVE | 0x20 | Remove the group from this estate's Allowed groups list. |
| ESTATE_ACCESS_BANNED_AGENT_ADD | 0x40 | Add the agent to this estate's Banned residents list. |
| ESTATE_ACCESS_BANNED_AGENT_REMOVE | 0x80 | Remove the agent from this estate's Banned residents list. |
Caveats
- Calls are throttled at a rate of 30 calls per 30 seconds.
- FALSE will be returned...
- if throttled,
- if object owner doesn't have power to perform
action, - if
avataris invalid or null
- If used on mainland the message "llManageEstateAccess does not work on mainland" is shouted on DEBUG_CHANNEL.
- If the object owner is not allowed to manage the estate the message "llManageEstateAccess object owner must manage estate." is shouted on DEBUG_CHANNEL. -- SRC-233
- If a legit estate manager tries to exceed the max number of entries in the list the call will return TRUE but the operation be truncated at the limit.
See also: functions
History
Date of Release 18/10/2011
Shared wiki helpers
The original page also injects shared parameter notes, caveats or issue information through these helpers. Their conditional MediaWiki logic is not reproduced here; inspect the preserved helper source for additional material.
Original shared helper source (conditional wiki logic is not evaluated)
{{LSL Injection Test}}<noinclude>{{Multi-lang|category=LSL}}</noinclude>{{#if:
{{#vardefine:p_{{{1|none}}}_desc|avatar {{#if:{{{group|}}}|or group}} {{HoverLink|UUID|Universally Unique Identifier}} {{#if:{{{sim|}}}{{{region|}}}|that is in the same [[region]] {{#ifeq:{{{sim|}}}{{{region|}}}|known|or is otherwise known to the region{{Footnote|handle=known}}}}}}}}
{{#vardefine:p_{{{1|none}}}_hover|avatar {{#if:{{{group|}}}|or group}} UUID {{#if:{{{sim|}}}{{{region|}}}|that is in the same region {{#ifeq:{{{sim|}}}{{{region|}}}|known|or is otherwise known to the region}}}}}}
<includeonly>
{{#if:{{{nc|}}}||{{#vardefine:hidden-text|{{#var:hidden-text}}
{{#if:{{#pos:{{#var:moded}}|r}}{{#pos:{{#var:moded}}|u}}||{{LSLC|Avatar/As A Parameter||{{#var:lang}}}}}}
}}}}
</includeonly>
}}<noinclude>
{| {{Prettytable}}
|-{{Hl2}}
! #var
! value
|-
{{VarPair|p_{{{1|none}}}_desc}}
|-
{{VarPair|p_{{{1|none}}}_hover}}
|}
</noinclude>Original shared helper source (conditional wiki logic is not evaluated)
{{Issues|SCR-293|[[ESTATE_ACCESS_BANNED_AGENT_ADD]] can ban estate owner!|type=bug}}Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.