AW WORLD EJECT CAPABILITY

From ActiveWiki
Jump to navigation Jump to search


Minimum requirements
Added in version 2.1
SDKbuild 13


AW_WORLD_EJECT_CAPABILITY

Type

Boolean (read only)

Description

Instance is allowed to eject users.

Notes

The value of this attribute is usually derived from AW_WORLD_EJECT_RIGHT. It will be set to 1 (true) if the owner of the instance has ejection capability. This is more reliable than using aw_has_world_right or aw_has_world_right_all.

Usage

if (aw_bool (AW_WORLD_EJECT_CAPABILITY))
  printf ("I am allowed to eject users\n");
else
  printf ("I am not allowed to eject users\n");

Default value

None

See also