IsConnectedBySAS

IsConnectedBySAS

%IsConnectedBySAS function


Function

The function returns TRUE if the process, in the context of which it is called, is connected via the Security Access Proxy Server - D2000 SAS.

Otherwise, it returns FALSE.

The function can be used, for example, to limit the functionality of pictures when they are opened from a less trusted external environment (e.g. disabling control, equivalent to the SAS_DisableCTRLDlg setting for disabling control windows).

Declaration

BOOL %IsConnectedBySAS()

Parameters

-

Example

BEGIN IF %IsConnectedBySAS() THEN MESSAGE "Control is not permitted." ENDIF END