OnlineMarketingTransformationFunctions IsInCommunityGroup Method Kentico 8.1 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.1.5347.20411)

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