ENTRY OnLogOn(IN TEXT _userName, IN BOOL _bLogOn)
IF _bLogOn THEN
;when a user is logged on, the object is enabled
%HI_SetMasterEnable(_Text,@TRUE)
ELSE
;when a user is logged off, the access to object is disabled
%HI_SetMasterEnable(_Text,@FALSE)
ENDIF
END OnLogOn
0 komentárov