Try our conversational search powered by Generative AI!

Class PageDataPersonalizationExtension

Extends PageData with some personalization methods

Inheritance
System.Object
PageDataPersonalizationExtension
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Personalization
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public static class PageDataPersonalizationExtension

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.