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

Class PermissionInfoBase

PermissionInfoBase provides a base class for PermissionInfo classes.

Inheritance
System.Object
BaseEntityInfo
PermissionInfo
PermissionInfoBase
MenuPermissionInfo
ContentWorkflowStatePermission
WorkflowStatePermission
DesktopModulePermissionInfo
FolderPermissionInfo
ModulePermissionInfo
PortalPermissionInfo
TabPermissionInfo
Implements
IPermissionInfo
IPermissionDefinitionInfo
Inherited Members
PermissionInfo.ModuleDefID
PermissionInfo.PermissionCode
PermissionInfo.PermissionID
PermissionInfo.PermissionKey
PermissionInfo.PermissionName
BaseEntityInfo.CreatedByUserID
BaseEntityInfo.CreatedOnDate
BaseEntityInfo.LastModifiedByUserID
BaseEntityInfo.LastModifiedOnDate
BaseEntityInfo.CreatedByUser(Int32)
BaseEntityInfo.LastModifiedByUser(Int32)
BaseEntityInfo.CloneBaseProperties(BaseEntityInfo, BaseEntityInfo)
Namespace: DotNetNuke.Security.Permissions
Assembly: DotNetNuke.dll
Syntax
public abstract class PermissionInfoBase : PermissionInfo, IPermissionInfo, IPermissionDefinitionInfo
Remarks

All Permission classes have a common set of properties

  • AllowAccess
  • RoleID
  • RoleName
  • UserID
  • Username
  • DisplayName

and these are implemented in this base class.

Constructors

| Improve this Doc View Source

PermissionInfoBase()

Initializes a new instance of the PermissionInfoBase class.

Declaration
public PermissionInfoBase()
Remarks

All Permission classes have a common set of properties

  • AllowAccess
  • RoleID
  • RoleName
  • UserID
  • Username
  • DisplayName

and these are implemented in this base class.

Properties

| Improve this Doc View Source

AllowAccess

PermissionInfoBase provides a base class for PermissionInfo classes.

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

All Permission classes have a common set of properties

  • AllowAccess
  • RoleID
  • RoleName
  • UserID
  • Username
  • DisplayName

and these are implemented in this base class.

| Improve this Doc View Source

DisplayName

PermissionInfoBase provides a base class for PermissionInfo classes.

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

All Permission classes have a common set of properties

  • AllowAccess
  • RoleID
  • RoleName
  • UserID
  • Username
  • DisplayName

and these are implemented in this base class.

| Improve this Doc View Source

RoleID

Gets or sets the Role ID.

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

All Permission classes have a common set of properties

  • AllowAccess
  • RoleID
  • RoleName
  • UserID
  • Username
  • DisplayName

and these are implemented in this base class.

| Improve this Doc View Source

RoleName

PermissionInfoBase provides a base class for PermissionInfo classes.

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

All Permission classes have a common set of properties

  • AllowAccess
  • RoleID
  • RoleName
  • UserID
  • Username
  • DisplayName

and these are implemented in this base class.

| Improve this Doc View Source

UserID

Gets or sets the User ID.

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

All Permission classes have a common set of properties

  • AllowAccess
  • RoleID
  • RoleName
  • UserID
  • Username
  • DisplayName

and these are implemented in this base class.

| Improve this Doc View Source

Username

PermissionInfoBase provides a base class for PermissionInfo classes.

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

All Permission classes have a common set of properties

  • AllowAccess
  • RoleID
  • RoleName
  • UserID
  • Username
  • DisplayName

and these are implemented in this base class.

Methods

| Improve this Doc View Source

FillInternal(IDataReader)

FillInternal fills the PermissionInfoBase from a Data Reader.

Declaration
protected override void FillInternal(IDataReader dr)
Parameters
Type Name Description
IDataReader dr

The Data Reader to use.

Overrides
PermissionInfo.FillInternal(IDataReader)
Remarks

All Permission classes have a common set of properties

  • AllowAccess
  • RoleID
  • RoleName
  • UserID
  • Username
  • DisplayName

and these are implemented in this base class.

Implements

IPermissionInfo
IPermissionDefinitionInfo

Extension Methods

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