Class FolderPermissionsGrid
Implements
INamingContainer
Inherited Members
Namespace: DotNetNuke.Security.Permissions.Controls
Assembly: DotNetNuke.dll
Syntax
public class FolderPermissionsGrid : PermissionsGrid
Fields
| Improve this Doc View SourceFolderPermissions
Declaration
protected FolderPermissionCollection FolderPermissions
Field Value
| Type | Description |
|---|---|
| FolderPermissionCollection |
Properties
| Improve this Doc View SourceFolderPath
Gets or sets the path of the Folder.
Declaration
public string FolderPath { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Permissions
Gets the Permission Collection.
Declaration
public FolderPermissionCollection Permissions { get; }
Property Value
| Type | Description |
|---|---|
| FolderPermissionCollection |
PermissionsList
Declaration
protected override List<PermissionInfoBase> PermissionsList { get; }
Property Value
| Type | Description |
|---|---|
| List<PermissionInfoBase> |
Overrides
| Improve this Doc View SourceRefreshGrid
Declaration
protected override bool RefreshGrid { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Overrides
Methods
| Improve this Doc View SourceAddPermission(ArrayList, UserInfo)
Updates a Permission.
Declaration
protected override void AddPermission(ArrayList permissions, UserInfo user)
Parameters
| Type | Name | Description |
|---|---|---|
| ArrayList | permissions | The permissions collection. |
| UserInfo | user | The user to add. |
Overrides
| Improve this Doc View SourceAddPermission(ArrayList, RoleInfo)
Updates a Permission.
Declaration
protected override void AddPermission(ArrayList permissions, RoleInfo role)
Parameters
| Type | Name | Description |
|---|---|---|
| ArrayList | permissions | The permissions collection. |
| RoleInfo | role | The role to add. |
Overrides
| Improve this Doc View SourceAddPermission(PermissionInfo, Int32, String, Int32, String, Boolean)
Declaration
protected override void AddPermission(PermissionInfo permission, int roleId, string roleName, int userId, string displayName, bool allowAccess)
Parameters
| Type | Name | Description |
|---|---|---|
| PermissionInfo | permission | |
| System.Int32 | roleId | |
| System.String | roleName | |
| System.Int32 | userId | |
| System.String | displayName | |
| System.Boolean | allowAccess |
Overrides
| Improve this Doc View SourceCreateChildControls()
Declaration
protected override void CreateChildControls()
Overrides
| Improve this Doc View SourceGenerateDataGrid()
Generate the Data Grid.
Declaration
public override void GenerateDataGrid()
Overrides
| Improve this Doc View SourceGetEnabled(PermissionInfo, RoleInfo, Int32)
Gets the Enabled status of the permission.
Declaration
protected override bool GetEnabled(PermissionInfo objPerm, RoleInfo role, int column)
Parameters
| Type | Name | Description |
|---|---|---|
| PermissionInfo | objPerm | The permission being loaded. |
| RoleInfo | role | The role. |
| System.Int32 | column | The column of the Grid. |
Returns
| Type | Description |
|---|---|
| System.Boolean | true if the permission is enabled, otherwise false. |
Overrides
| Improve this Doc View SourceGetFolderPermissions()
Gets the TabPermissions from the Data Store.
Declaration
protected virtual void GetFolderPermissions()
GetPermission(PermissionInfo, RoleInfo, Int32, String)
Gets the Value of the permission.
Declaration
protected override string GetPermission(PermissionInfo objPerm, RoleInfo role, int column, string defaultState)
Parameters
| Type | Name | Description |
|---|---|---|
| PermissionInfo | objPerm | The permission being loaded. |
| RoleInfo | role | The role. |
| System.Int32 | column | The column of the Grid. |
| System.String | defaultState | Default State. |
Returns
| Type | Description |
|---|---|
| System.String | The permission state (one of PermissionTypeGrant, PermissionTypeDeny or |
Overrides
| Improve this Doc View SourceGetPermissions()
Gets the permissions from the Database.
Declaration
protected override ArrayList GetPermissions()
Returns
| Type | Description |
|---|---|
| ArrayList | An |
Overrides
| Improve this Doc View SourceIsFullControl(PermissionInfo)
Declaration
protected override bool IsFullControl(PermissionInfo permissionInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| PermissionInfo | permissionInfo |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Overrides
| Improve this Doc View SourceIsViewPermisison(PermissionInfo)
Declaration
protected override bool IsViewPermisison(PermissionInfo permissionInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| PermissionInfo | permissionInfo |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Overrides
| Improve this Doc View SourceLoadViewState(Object)
Declaration
protected override void LoadViewState(object savedState)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | savedState |
RemovePermission(Int32, Int32, Int32)
Declaration
protected override void RemovePermission(int permissionID, int roleID, int userID)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | permissionID | |
| System.Int32 | roleID | |
| System.Int32 | userID |
Overrides
| Improve this Doc View SourceSaveViewState()
Declaration
protected override object SaveViewState()
Returns
| Type | Description |
|---|---|
| System.Object |
SupportsDenyPermissions(PermissionInfo)
Declaration
protected override bool SupportsDenyPermissions(PermissionInfo permissionInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| PermissionInfo | permissionInfo |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Overrides
Implements
INamingContainer