---
title: "Conditions - Example 1"
canonical: "https://support.appfire.com/space/PSCONF/15305913/Conditions%20-%20Example%201"
format: markdown
---
> Macro (aura-html)

> Macro (excerpt)
> 
> ```
> 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.