Conditions - Example 1

if(userInGroup("administrators", currentUser()) == false) { return false; }

There is no need to create an ‘else’ statement in this script because condition scripts are assumed to be true unless a false is specifically returned by the script.

 

Peacock