ObjectTypeDescriber (open)
Objecttype for use in object describers
Syntax
LOADLIB "mod::system/lib/userrights.whlib";
OBJECTTYPE ObjectTypeDescriber
Constructor
- MACRO NEW()
Constructor
Functions
- RECORD FUNCTION DescribeObject(INTEGER id)
Describe an object, no checking of visibility needed (already done)
- INTEGER ARRAY FUNCTION GetObjectChildren(INTEGER obj, OBJECT user)
Return the children objects of a object. For presentation purposes only.
- INTEGER ARRAY FUNCTION GetRootObjects(OBJECT user)
Returns the root visible objects. For presentation purposes only.
- BOOLEAN FUNCTION IsObjectVisibleForUser(INTEGER id, OBJECT user)
Returns if a specific object is visible for a user in the rights manager