• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class ProfilePropertyDefinition

The ProfilePropertyDefinition class provides a Business Layer entity for property Definitions.

Inheritance
System.Object
BaseEntityInfo
ProfilePropertyDefinition
Inherited Members
BaseEntityInfo.CreatedByUserID
BaseEntityInfo.CreatedOnDate
BaseEntityInfo.LastModifiedByUserID
BaseEntityInfo.LastModifiedOnDate
BaseEntityInfo.CreatedByUser(Int32)
BaseEntityInfo.LastModifiedByUser(Int32)
BaseEntityInfo.FillInternal(IDataReader)
BaseEntityInfo.CloneBaseProperties(BaseEntityInfo, BaseEntityInfo)
Namespace: DotNetNuke.Entities.Profile
Assembly: DotNetNuke.dll
Syntax
public class ProfilePropertyDefinition : BaseEntityInfo

Constructors

| Improve this Doc View Source

ProfilePropertyDefinition()

Initializes a new instance of the ProfilePropertyDefinition class.

Declaration
public ProfilePropertyDefinition()
| Improve this Doc View Source

ProfilePropertyDefinition(Int32)

Initializes a new instance of the ProfilePropertyDefinition class.

Declaration
public ProfilePropertyDefinition(int portalId)
Parameters
Type Name Description
System.Int32 portalId

Properties

| Improve this Doc View Source

DataType

Gets or sets the Data Type of the Profile Property.

Declaration
public int DataType { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

DefaultValue

Gets or sets the Default Value of the Profile Property.

Declaration
public string DefaultValue { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DefaultVisibility

Gets or sets and sets the Default Visibility of the Profile Property.

Declaration
public UserVisibilityMode DefaultVisibility { get; set; }
Property Value
Type Description
UserVisibilityMode
| Improve this Doc View Source

Deleted

Gets or sets a value indicating whether gets and sets the Deleted.

Declaration
public bool Deleted { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsDirty

Gets a value indicating whether the Definition has been modified since it has been retrieved.

Declaration
public bool IsDirty { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Length

Gets or sets the Length of the Profile Property.

Declaration
public int Length { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

ModuleDefId

Gets or sets the ModuleDefId.

Declaration
public int ModuleDefId { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

PortalId

Gets or sets the PortalId.

Declaration
public int PortalId { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

ProfileVisibility

Gets or sets whether the property is visible.

Declaration
public ProfileVisibility ProfileVisibility { get; set; }
Property Value
Type Description
ProfileVisibility
| Improve this Doc View Source

PropertyCategory

Gets or sets the Category of the Profile Property.

Declaration
public string PropertyCategory { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PropertyDefinitionId

Gets or sets the Id of the ProfilePropertyDefinition.

Declaration
public int PropertyDefinitionId { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

PropertyName

Gets or sets the Name of the Profile Property.

Declaration
public string PropertyName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PropertyValue

Gets or sets the Value of the Profile Property.

Declaration
public string PropertyValue { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ReadOnly

Gets or sets a value indicating whether the property is read only.

Declaration
public bool ReadOnly { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Required

Gets or sets a value indicating whether the property is required.

Declaration
public bool Required { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ValidationExpression

Gets or sets a Validation Expression (RegEx) for the Profile Property.

Declaration
public string ValidationExpression { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ViewOrder

Gets or sets the View Order of the Property.

Declaration
public int ViewOrder { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Visibility

The ProfilePropertyDefinition class provides a Business Layer entity for property Definitions.

Declaration
public UserVisibilityMode Visibility { get; set; }
Property Value
Type Description
UserVisibilityMode
| Improve this Doc View Source

Visible

Gets or sets a value indicating whether the property is visible.

Declaration
public bool Visible { get; set; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

ClearIsDirty()

Clears the IsDirty Flag.

Declaration
public void ClearIsDirty()
| Improve this Doc View Source

Clone()

Clone a ProfilePropertyDefinition.

Declaration
public ProfilePropertyDefinition Clone()
Returns
Type Description
ProfilePropertyDefinition

A ProfilePropertyDefinition.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS