Class Profile
A single Profile Property information of a User.
So a user will have many of these to fully describe his Profile.
public class Profile : ModelBase, IAuditable
- Inheritance
-
Profile
- Implements
- Inherited Members
Properties
Autocomplete
Autocomplete setting for the property. If set, enable autocomplete for the corresponding input field.
public string Autocomplete { get; set; }
Property Value
Category
Category of this Profile-Property for grouping etc.
public string Category { get; set; }
Property Value
DefaultValue
Initial/default value of this Property.
public string DefaultValue { get; set; }
Property Value
Description
Description of the Property for the UI.
public string Description { get; set; }
Property Value
IsPrivate
Some Profile Properties are private, meaning other users won't see them.
public bool IsPrivate { get; set; }
Property Value
IsRequired
Some Profile Properties are required - marked with this field.
public bool IsRequired { get; set; }
Property Value
MaxLength
Limits the input length of the property.
public int MaxLength { get; set; }
Property Value
Name
Name of the Profile-Property. NOT the User-Name.
public string Name { get; set; }
Property Value
Options
This gives possible values for dropdown input fields.
public string Options { get; set; }
Property Value
ProfileId
Internal ID
public int ProfileId { get; set; }
Property Value
Rows
Optional number of rows (textarea)
public int Rows { get; set; }
Property Value
SiteId
Reference to the Site. It's nullable, probably because certain users like Super-Users don't specifically belong to any site.
public int? SiteId { get; set; }
Property Value
- int?
Title
Title (label) of the Profile Property.
public string Title { get; set; }
Property Value
Validation
Optional RegExp validation expression
public string Validation { get; set; }
Property Value
ViewOrder
Order of the Property in the list of Profile-Properties.
public int ViewOrder { get; set; }