AdminAtLeastOneGroup

Checks if the current user has the admin role for at least one security group.

Type and Usage

Output

  • Returns TRUE if the user is an administrator for at least one security group.

  • Returns FALSE if the user is not assigned the admin role.

Example

Can be used to do an optional presentation for an administrator:

<$if (AdminAtLeastOneGroup)$>
    <a href="<$redirect$>">
<$endif$>

See Also