TolliumUser::HasRightOn (open)
Returns whether this user has an object-based right on an object.
Syntax
LOADLIB "mod::tollium/lib/users.whlib";
BOOLEAN FUNCTION HasRightOn(STRING rightname, INTEGER objectid)Parameters
STRING rightnameName of the right
INTEGER objectidId of the object, 0 for a global grant on all objects.
Return value
BOOLEANTRUE if the user has the right, FALSE if not. Throws on error.