Updates a Permission

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

Syntax

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

Parameters

permission
Type: DotNetNuke.Security.Permissions..::..PermissionInfo
The permission being updated
displayName
Type: System..::..String
The user's displayname
userId
Type: System..::..Int32
The user's id
allowAccess
Type: System..::..Boolean
The value of the permission

See Also