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

Class PortalInfo

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Inheritance
System.Object
BaseEntityInfo
PortalInfo
Implements
IHydratable
IPortalInfo
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.Portals
Assembly: DotNetNuke.dll
Syntax
public class PortalInfo : BaseEntityInfo, IHydratable, IPortalInfo
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property

Constructors

| Improve this Doc View Source

PortalInfo()

Initializes a new instance of the PortalInfo class.

Declaration
public PortalInfo()
Remarks

This example illustrates the creation of a new PortalInfo object

For Each portal As PortalInfo In New PortalController().GetPortals
    Dim portalID As Integer = portal.PortalID
    ...
Next

Properties

| Improve this Doc View Source

AdministratorId

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int AdministratorId { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

AdministratorRoleId

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int AdministratorRoleId { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

AdministratorRoleName

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

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

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

AdminTabId

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int AdminTabId { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

BackgroundFile

Gets or sets image (bitmap) file that is used as background for the portal.

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

Name of the file that is used as background.

Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

BannerAdvertising

Gets or sets setting for the type of banner advertising in the portal.

Declaration
public int BannerAdvertising { get; set; }
Property Value
Type Description
System.Int32

Type of banner advertising.

Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

CrmVersion

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

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

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

CultureCode

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

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

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

Currency

Gets or sets currency format that is used in the portal.

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

Currency of the portal.

Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

Custom404TabId

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int Custom404TabId { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

Custom500TabId

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int Custom500TabId { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

DefaultLanguage

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

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

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

Description

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

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

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

Email

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

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

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

ExpiryDate

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public DateTime ExpiryDate { get; set; }
Property Value
Type Description
DateTime
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

FooterText

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

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

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

GUID

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public Guid GUID { get; set; }
Property Value
Type Description
Guid
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

HomeDirectory

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

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

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

HomeDirectoryMapPath

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public string HomeDirectoryMapPath { get; }
Property Value
Type Description
System.String
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

HomeSystemDirectory

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public string HomeSystemDirectory { get; }
Property Value
Type Description
System.String
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

HomeSystemDirectoryMapPath

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public string HomeSystemDirectoryMapPath { get; }
Property Value
Type Description
System.String
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

HomeTabId

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int HomeTabId { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

HostFee

Gets or sets amount of currency that is used as a hosting fee of the portal.

Declaration
public float HostFee { get; set; }
Property Value
Type Description
System.Single

Currency amount hosting fee.

Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

HostSpace

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int HostSpace { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

KeyID

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int KeyID { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

KeyWords

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

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

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

LoginTabId

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int LoginTabId { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

LogoFile

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

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

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

PageQuota

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int PageQuota { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

Pages

Gets or sets actual number of pages of the portal.

Declaration
public int Pages { get; set; }
Property Value
Type Description
System.Int32

Number of pages of the portal.

Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

PaymentProcessor

Gets or sets name of the Payment processor that is used for portal payments, e.g. PayPal.

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

Name of the portal payment processor.

Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

PortalGroupID

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int PortalGroupID { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

PortalID

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int PortalID { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

PortalName

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

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

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

PortalPermissions

Gets the permissions collection for the portal.

Declaration
public PortalPermissionCollection PortalPermissions { get; }
Property Value
Type Description
PortalPermissionCollection
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

PrivacyTabId

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int PrivacyTabId { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

ProcessorPassword

Gets or sets password to use in the payment processor.

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

Payment Processor password.

Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

ProcessorUserId

Gets or sets payment Processor userId.

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

Payment Processor userId.

Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

RegisteredRoleId

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int RegisteredRoleId { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

RegisteredRoleName

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

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

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

RegisterTabId

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int RegisterTabId { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

SearchTabId

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int SearchTabId { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

SiteLogHistory

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int SiteLogHistory { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

SplashTabId

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int SplashTabId { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

SuperTabId

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int SuperTabId { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

TermsTabId

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int TermsTabId { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

TimeZoneOffset

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int TimeZoneOffset { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

UserQuota

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int UserQuota { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

UserRegistration

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int UserRegistration { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

Users

Gets or sets actual number of actual users for this portal.

Declaration
public int Users { get; set; }
Property Value
Type Description
System.Int32

Number of users for the portal.

Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

UserTabId

PortalInfo provides a base class for Portal information This class inherits from the BaseEntityInfo and is Hydratable.

Declaration
public int UserTabId { get; set; }
Property Value
Type Description
System.Int32
Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property
| Improve this Doc View Source

Version

Gets or sets dNN Version # of the portal installation.

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

Version # of the portal installation.

Remarks

IHydratable This example shows how the PortalInfo class is used to get physical file names

Public ReadOnly Property PhysicalPath() As String
      Get
          Dim _PhysicalPath As String
          Dim PortalSettings As PortalSettings = Nothing
          If Not HttpContext.Current Is Nothing Then
              PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
          End If
          If PortalId = Null.NullInteger Then
              _PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
          Else
              If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
                  ' Get the PortalInfo  based on the Portalid
                  Dim objPortals As New PortalController()
                  Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
                  _PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
              Else
                  _PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
              End If
          End If
          Return _PhysicalPath.Replace("/", "\")
      End Get
End Property

Methods

| Improve this Doc View Source

Fill(IDataReader)

Fills a PortalInfo from a Data Reader.

Declaration
public void Fill(IDataReader dr)
Parameters
Type Name Description
IDataReader dr

The Data Reader to use.

Remarks

Standard IHydratable.Fill implementation. KeyID

Implements

IHydratable
IPortalInfo

Extension Methods

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