Skip to content

AllowAccess - cWebWindow

User hook that fires when view is accessed, determines whether access is allowed

Type: Event
Return Data Type: Boolean

Syntax

Function AllowAccess Returns Boolean

Description

User hook that is called by the session manager (cWebSessionManager) if a call comes in that tries to access this view.

Can be used to implement a custom access rights checks for this view and called from OnChangeRights.

Return Value

False if the item is disabled; True if it is enabled.