OnlineMarketingTransformationFunctions IsInCommunityGroup Method Kentico 8.0 API Reference
Returns true if the contact is in any/all of the specified community groups (i.e. if any of the user assigned to the contact is in any/all specified community groups).

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

contact
Type: OnlineSystem Object
Contact which should be checked
groupNames
Type: OnlineSystem String
Name of the groups separated with semicolon
allGroups
Type: OnlineSystem Boolean
If true, contact has to in all specified groups. If false, it is sufficient if the contact is at least in one of the groups.

Return Value

Type: OnlineBoolean
See Also