Attributes - Group Membership

currentUserGroup - Group Membership Attributes

Attributes on Group Membership

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.

OperatorDefinition
==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

memberCount

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]

ProfileAttributeSub-AttributeOperatorExample
currentUserGroupmemberCountNA==currentUserGroup.memberCount == 10
currentUserGroupmemberCountNA!=currentUserGroup.memberCount != 10
currentUserGroupmemberCountNA>currentUserGroup.memberCount > 30
currentUserGroupmemberCountNA>=currentUserGroup.memberCount >= 30
currentUserGroupmemberCountNA<currentUserGroup.memberCount < 30
currentUserGroupmemberCountNA<=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