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

Class DesktopModulePermissionsGrid

Inheritance
System.Object
PermissionsGrid
DesktopModulePermissionsGrid
Implements
INamingContainer
Inherited Members
PermissionsGrid.PermissionTypeGrant
PermissionsGrid.PermissionTypeDeny
PermissionsGrid.PermissionTypeNull
PermissionsGrid.rolePermissionsGrid
PermissionsGrid.userPermissionsGrid
PermissionsGrid.AlternatingItemStyle
PermissionsGrid.Columns
PermissionsGrid.FooterStyle
PermissionsGrid.HeaderStyle
PermissionsGrid.ItemStyle
PermissionsGrid.Items
PermissionsGrid.SelectedItemStyle
PermissionsGrid.AdministratorRoleId
PermissionsGrid.RegisteredUsersRoleId
PermissionsGrid.PortalId
PermissionsGrid.AutoGenerateColumns
PermissionsGrid.CellSpacing
PermissionsGrid.GridLines
PermissionsGrid.DynamicColumnAdded
PermissionsGrid.dtRolePermissions
PermissionsGrid.dtUserPermissions
PermissionsGrid.Roles
PermissionsGrid.ResourceFile
PermissionsGrid.RefreshGrid
PermissionsGrid.RegisterScriptsForAjaxPanel()
PermissionsGrid.BuildKey(Boolean, Int32, Int32, Int32, String)
PermissionsGrid.BuildKey(Boolean, Int32, Int32, Int32, String, Int32, String)
PermissionsGrid.CreateChildControls()
PermissionsGrid.GetEnabled(PermissionInfo, RoleInfo, Int32)
PermissionsGrid.GetEnabled(PermissionInfo, UserInfo, Int32)
PermissionsGrid.GetPermission(PermissionInfo, RoleInfo, Int32)
PermissionsGrid.GetPermission(PermissionInfo, RoleInfo, Int32, String)
PermissionsGrid.GetPermission(PermissionInfo, UserInfo, Int32)
PermissionsGrid.GetPermission(PermissionInfo, UserInfo, Int32, String)
PermissionsGrid.GetUsers()
PermissionsGrid.IsFullControl(PermissionInfo)
PermissionsGrid.IsViewPermisison(PermissionInfo)
PermissionsGrid.OnInit(EventArgs)
PermissionsGrid.OnPreRender(EventArgs)
PermissionsGrid.ParsePermissionKeys(PermissionInfoBase, String[])
PermissionsGrid.UpdatePermission(PermissionInfo, Int32, String, Boolean)
PermissionsGrid.UpdatePermission(PermissionInfo, Int32, String, String)
PermissionsGrid.UpdatePermission(PermissionInfo, String, Int32, Boolean)
PermissionsGrid.UpdatePermission(PermissionInfo, String, Int32, String)
PermissionsGrid.UpdatePermissions()
PermissionsGrid.UpdateRolePermissions()
PermissionsGrid.UpdateUserPermissions()
PermissionsGrid.RoleGroupsSelectedIndexChanged(Object, EventArgs)
PermissionsGrid.AddUser(Object, EventArgs)
Namespace: DotNetNuke.Security.Permissions.Controls
Assembly: DotNetNuke.dll
Syntax
public class DesktopModulePermissionsGrid : PermissionsGrid

Properties

| Improve this Doc View Source

Permissions

Gets the Permissions Collection.

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

PermissionsList

Declaration
protected override List<PermissionInfoBase> PermissionsList { get; }
Property Value
Type Description
List<PermissionInfoBase>
Overrides
PermissionsGrid.PermissionsList
| Improve this Doc View Source

PortalDesktopModuleID

Gets or sets the ID of the PortalDesktopModule.

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

Methods

| Improve this Doc View Source

AddPermission(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
PermissionsGrid.AddPermission(ArrayList, UserInfo)
| Improve this Doc View Source

AddPermission(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
PermissionsGrid.AddPermission(ArrayList, RoleInfo)
| Improve this Doc View Source

AddPermission(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
PermissionsGrid.AddPermission(PermissionInfo, Int32, String, Int32, String, Boolean)
| Improve this Doc View Source

GenerateDataGrid()

Generate the Data Grid.

Declaration
public override void GenerateDataGrid()
Overrides
PermissionsGrid.GenerateDataGrid()
| Improve this Doc View Source

GetPermissions()

Gets the permissions from the Database.

Declaration
protected override ArrayList GetPermissions()
Returns
Type Description
ArrayList

An of PermissionInfo instances.

Overrides
PermissionsGrid.GetPermissions()
| Improve this Doc View Source

LoadViewState(Object)

Declaration
protected override void LoadViewState(object savedState)
Parameters
Type Name Description
System.Object savedState
| Improve this Doc View Source

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
PermissionsGrid.RemovePermission(Int32, Int32, Int32)
| Improve this Doc View Source

ResetPermissions()

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

SaveViewState()

Declaration
protected override object SaveViewState()
Returns
Type Description
System.Object
| Improve this Doc View Source

SupportsDenyPermissions(PermissionInfo)

Declaration
protected override bool SupportsDenyPermissions(PermissionInfo permissionInfo)
Parameters
Type Name Description
PermissionInfo permissionInfo
Returns
Type Description
System.Boolean
Overrides
PermissionsGrid.SupportsDenyPermissions(PermissionInfo)

Implements

INamingContainer

Extension Methods

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