Click or drag to resize
ICurrentContactProviderSetCurrentContact Method
Stores information about the current contact into the current session, so next time (possibly in another request in the same session) GetCurrentContact(RequestDependencies, SiteInfo, CurrentUserInfo, Boolean) is called the stored contact is returned.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax
C#
void SetCurrentContact(
	SiteInfo site,
	ContactInfo contact
)

Parameters

site
Type: CMS.SiteProviderSiteInfo
Site where request happened.
contact
Type: CMS.OnlineMarketingContactInfo
Contact who performed the request.
See Also