SaaS CMS has officially launched! Learn more now.

Class PageDataPersonalizationExtension

Extends PageData with some personalization methods

Inheritance
System.Object
PageDataPersonalizationExtension
Namespace: EPiServer.Personalization
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public static class PageDataPersonalizationExtension : Object

Methods

GetUsedPersonalizedGroupIds(PageData)

Gets the groups that are used for personalization on current page.

Declaration
public static IEnumerable<string> GetUsedPersonalizedGroupIds(this PageData page)
Parameters
Type Name Description
PageData page

The page.

Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>

An IEnumerable with the ids of the visitor groups what affect content for properties on the page.