Returns a flag indicating whether the current user can view a page

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

Syntax

C#
public virtual bool CanViewPage(
	TabInfo tab
)
Visual Basic
Public Overridable Function CanViewPage ( 
	tab As TabInfo
) As Boolean

Parameters

tab
Type: DotNetNuke.Entities.Tabs..::..TabInfo
The page

Return Value

A flag indicating whether the user has permission

See Also