Numeric Operators widely used withmemberCount
attributes
Use these operators to compare the memberCount
integer value. Operators follow the attribute using dot notation, for example: currentUserGroup.memberCount < 30
.
Operator | Definition |
---|
== | True if member count equals the specified number |
!= | True if member count does not equal the specified number |
> | True if member count is greater than the specified number |
>= | True if member count is greater than or equal to the specified number |
< | True if member count is less than the specified number |
<= | True if member count is less than or equal to the specified number |
Profile: currentUserGroup
Attribute: memberCount
Meaning: Total number of members in the user group. Useful for filtering or targeting groups by size.
Type: Integer
Sub-Attribute: NA
Format: currentUserGroup.[Attribute][Operator][Value]
Syntax: currentUserGroup.memberCount [Operator] [Value]
Profile | Attribute | Sub-Attribute | Operator | Example |
---|
currentUserGroup | memberCount | NA | == | currentUserGroup.memberCount == 10 |
currentUserGroup | memberCount | NA | != | currentUserGroup.memberCount != 10 |
currentUserGroup | memberCount | NA | > | currentUserGroup.memberCount > 30 |
currentUserGroup | memberCount | NA | >= | currentUserGroup.memberCount >= 30 |
currentUserGroup | memberCount | NA | < | currentUserGroup.memberCount < 30 |
currentUserGroup | memberCount | NA | <= | currentUserGroup.memberCount <= 30 |
Example 1: Check if the user group has exactly 10 members. |
---|
Expression: currentUserGroup.memberCount == 10 |
Example 2: Check if the user group has fewer than 30 members. |
---|
Expression: currentUserGroup.memberCount< 30 |
Example 3: Check if the user group has at least 100 members. |
---|
Expression: currentUserGroup.memberCount >= 100 |