$hasGroupPermissions

Examines if the named group has the given permissions.
Syntax
    $hasGroupPermissions{group_name}{permission_value_1}{permission_value_2} ... {permission_value_n}
DocumentationExamines if the named group has the given permissions:

    Parameters:
      group_name, the name of the group to examine if the named permissions are granted for.
      permission_value_1 through permission_value_n, the permissions to examine if granted for the named group.
      Valid permission names are:
        - PERMISSION_ADMINISTRATE_GROUPS
        - PERMISSION_ADMINISTRATE_USERS
        - PERMISSION_CREATE_GROUP
        - PERMISSION_CREATE_USER
        - PERMISSION_DELETE_GROUP
        - PERMISSION_DELETE_USER
        - PERMISSION_MODIFY_GROUP
        - PERMISSION_MODIFY_USER
        - PERMISSION_FL_BASIC
        - PERMISSION_FL_ADVANCED
        - PERMISSION_FL_ADMINISTRATIVE
        - PERMISSION_FL_ADMINISTRATOR
        - PERMISSION_FL_EXPERT
        - PERMISSION_TEMPLATE_CREATE
        - PERMISSION_TEMPLATE_DELETE
        - PERMISSION_ALL
    Return:
      1 if and only if all the named permissions are granted for the named group.
Examples
    $createGroup{admin_group}
    $grantGroupPermissions{admin_group}
    {$getAllPermissions{}}
    $hasGroupPermissions{admin_group}{PERMISSION_DELETE_USER}

    Result:
    creates group "admin_group", grants all
    permissions, group "admin_group" has the
    permission "PERMISSION_DELETE_USER":
    1
GroupSecurity
Minimum required transaction-mode:READ
Required scripting permission of the developerPERMISSION_FL_ADMINISTRATIVE
Minimum parameters2
Maximum parameters <unlimited>