Checks if the currently active user can view page by its URL.

Namespace: MonoSoftware.MonoX.Repositories
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public virtual bool CanViewPage(
	string url
)
Visual Basic
Public Overridable Function CanViewPage ( 
	url As String
) As Boolean
Visual C++
public:
virtual bool CanViewPage(
	String^ url
)
F#
abstract CanViewPage : 
        url : string -> bool 
override CanViewPage : 
        url : string -> bool 

Parameters

url
Type: System..::..String
URL of the page.

Return Value

Type: Boolean
True is the user can access the page, false otherwise.

Implements

IPageRepository..::..CanViewPage(String)

See Also