TolliumUser::HasRightOnAny (open)

Returns whether this user has a right on any object for an object-based right, or, if no objects exist at all, whether the user would automatically have that right on newly created objects.

Syntax

LOADLIB "mod::tollium/lib/users.whlib";

BOOLEAN FUNCTION HasRightOnAny(STRING rightname)

Parameters

STRING rightname

Right to query

Return value

BOOLEAN

Whether the user has the queried right on any object (or newly created objects)