11-25-2019, 08:27 AM
Hi,
My form all share the same base class. TDlgBase. The constructor of this class checks if it can be shown/created by calling
SecurityClass is a class method holding the security class but defaulting to ClassName.
HandleNoAccessRights raises an exception.
My form all share the same base class. TDlgBase. The constructor of this class checks if it can be shown/created by calling
Code:
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.