AllowAccess - cWebWindow

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

Type: Event

Return Data Type: Boolean

Parameters: None

Return Value

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

Function AllowAccess Returns Boolean


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.