Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class UserProfileModel

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Model for the user profile criterion

Inheritance
System.Object
UserProfileModel
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.VisitorGroups.Criteria
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
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
ICriterionModel

A new object that is a copy of this instance.

Overrides

Implements

Extension Methods