Class UserProfileModel
Model for the user profile criterion
Inheritance
System.Object
UserProfileModel
Namespace: EPiServer.Personalization.VisitorGroups.Criteria
Assembly: EPiServer.dll
Version: 7.19.2Syntax
public class UserProfileModel : CriterionModelBase
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. |