Click or drag to resize
OnlineMarketingTransformationFunctionsIsInCommunityGroup Method
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.2.23
Syntax
C#
public static bool IsInCommunityGroup(
	Object contact,
	string groupNames,
	bool allGroups
)

Parameters

contact
Type: SystemObject
Contact which should be checked
groupNames
Type: SystemString
Name of the groups separated with semicolon
allGroups
Type: SystemBoolean
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: Boolean
See Also