Use to add or remove agents from the estate's agent access or ban lists or groups from the estate's group access list.

Syntax

integer llManageEstateAccess( integer action, key avatar );

Parameters

integer action
ESTATE_ACCESS_* flag
key avatar
avatar or group UUID

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

Returns a boolean (an integer) 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.

Constants

action flagVDescription
ESTATE_ACCESS_ALLOWED_AGENT_ADD0x4Add the agent to this estate's Allowed Residents list.
ESTATE_ACCESS_ALLOWED_AGENT_REMOVE0x8Remove the agent from this estate's Allowed Residents list.
ESTATE_ACCESS_ALLOWED_GROUP_ADD0x10Add the group to this estate's Allowed groups list.
ESTATE_ACCESS_ALLOWED_GROUP_REMOVE0x20Remove the group from this estate's Allowed groups list.
ESTATE_ACCESS_BANNED_AGENT_ADD0x40Add the agent to this estate's Banned residents list.
ESTATE_ACCESS_BANNED_AGENT_REMOVE0x80Remove the agent from this estate's Banned residents list.

Caveats

See also

Functions

Deep notes

Issues

History

Date of Release 18/10/2011