Updates a Permission

Namespace: DotNetNuke.Security.Permissions.Controls
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
protected virtual void UpdatePermission(
	PermissionInfo permission,
	int roleId,
	string roleName,
	bool allowAccess
)
Visual Basic
Protected Overridable Sub UpdatePermission ( 
	permission As PermissionInfo,
	roleId As Integer,
	roleName As String,
	allowAccess As Boolean
)

Parameters

permission
Type: DotNetNuke.Security.Permissions..::..PermissionInfo
The permission being updated
roleId
Type: System..::..Int32
Rold Id.
roleName
Type: System..::..String
The name of the role
allowAccess
Type: System..::..Boolean
The value of the permission

See Also