Class PermissionInfoBase
PermissionInfoBase provides a base class for PermissionInfo classes.
Inheritance
Inherited Members
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 SourcePermissionInfoBase()
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 SourceAllowAccess
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.
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.
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.
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.
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.
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 SourceFillInternal(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
Remarks
All Permission classes have a common set of properties
- AllowAccess
- RoleID
- RoleName
- UserID
- Username
- DisplayName
and these are implemented in this base class.