ApplyRuleTester::HasRequiredRight (open)
Test whether the user has the requested right
Syntax
LOADLIB "mod::publisher/lib/internal/siteprofiles/reader.whlib";
BOOLEAN FUNCTION HasRequiredRight(OBJECT user, STRING rightname)Parameters
OBJECT userSTRING rightnameRight to check. Must either be granted globally or for system:fs_fullaccess/system:fs_browse, on the fsobject or any of its parents
Return value
BOOLEANTrue if the user has the right, or if rightname is empty