AddChangeRightsClient - cWebApp

Registers an object as a NotifyChangeRights listener

Type: Procedure

Parameters: Handle hoClient

hoClientObject handle of the object that is added as a listener

Procedure AddChangeRightsClient Handle hoClient

Call: Send AddChangeRightsClient hoClient


Listener objects will receive the (private) NotifyChangeRights message whenever the user rights level changes in the global session manager object. Typically this occurs when the application is first loaded and whenever the currently logged in user changes.

A listener object would typically implement NotifyChangeRights (private) to customize its properties according to the rights level of the current user.

The cWebMenuBar, cWebMenuButton and cWebToolbar classes already register themselves as listeners by default.