Click or drag to resize
OnlineMarketingTransformationFunctionsIsInContactGroup Method
Returns TRUE if the contact is in any/all specified contact group(s) on current site.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax
C#
public static bool IsInContactGroup(
	Object contact,
	Object contactGroupName,
	bool allGroups
)

Parameters

contact
Type: SystemObject
Contact info object
contactGroupName
Type: SystemObject
Contact group name(s) separated by semicolon
allGroups
Type: SystemBoolean
If true contact has to be in all specified groups, if false, it is sufficient if the contact is in any of the specified groups.

Return Value

Type: Boolean
See Also