Class UserProfileModel

Model for the user profile criterion

Inheritance
System.Object
EPiServer.Personalization.VisitorGroups.CriterionModelBase
UserProfileModel
Implements
EPiServer.Personalization.VisitorGroups.ICriterionModel
Inherited Members
EPiServer.Personalization.VisitorGroups.CriterionModelBase.ShallowCopy()
EPiServer.Personalization.VisitorGroups.CriterionModelBase.LocalizationService
EPiServer.Personalization.VisitorGroups.CriterionModelBase.Id
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.VisitorGroups.Criteria
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class UserProfileModel : CriterionModelBase, ICriterionModel, IDynamicData

Constructors

UserProfileModel()

Declaration
public UserProfileModel()

Properties

MatchType

Gets or sets the type of the matching that should be performed.

Declaration
public MatchStringType MatchType { get; set; }
Property Value
Type Description
MatchStringType

ProfileKey

Gets or sets the key to use when looking for the value in the users profile.

Declaration
public string ProfileKey { get; set; }
Property Value
Type Description
System.String

ProfileValue

Gets or sets value to match against the value in the users profile.

Declaration
public string ProfileValue { get; set; }
Property Value
Type Description
System.String

Methods

Copy()

Creates a new object that is a copy of the current instance.

Declaration
public override ICriterionModel Copy()
Returns
Type Description
EPiServer.Personalization.VisitorGroups.ICriterionModel

A new object that is a copy of this instance.

Overrides
EPiServer.Personalization.VisitorGroups.CriterionModelBase.Copy()

Implements

EPiServer.Personalization.VisitorGroups.ICriterionModel

Extension Methods