WRDAuthPlugin::RequireRightOn (open)
Verify that the user has the specified right on a specific object. Let the user log in if he isn't yet
Syntax
LOADLIB "mod::wrd/lib/internal/auth/webdesignplugin.whlib";
BOOLEAN FUNCTION RequireRightOn(STRING right, INTEGER obj)Parameters
STRING rightRight to check
INTEGER objObject the user needs to have the right on
Return value
BOOLEANFalse if the user does not have privileges (but is logged in). True if the user has teh privileges