Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Event to authorize access to IW forms

My form all share the same base class. TDlgBase. The constructor of this class checks if it can be shown/created by calling 

if not UserSession.SecurityMgr.Access(SecurityClass, saRead)
then HandleNoAccessRights;

SecurityClass is a class method holding the security class but defaulting to ClassName.
HandleNoAccessRights raises an exception.

Messages In This Thread
RE: Event to authorize access to IW forms - by jeroen.rottink - 11-25-2019, 08:27 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)