Returns true if the contact is in any/all of the specified roles (i.e. if any of the user assigned to the contact is in any/all specified roles).
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- contact
- Type: System Object
Contact which should be checked
- roleNames
- Type: System String
Name of the roles separated with semicolon
- allRoles
- Type: System Boolean
If true, contact has to in all specified roles. If false, it is sufficient if the contact is at least in one of the roles.
Return Value
Type: BooleanSee Also