Configure API and Macro Security

You can enable the Reflection Desktop .NET API, and specify corresponding settings.

To set up API and macro and security

  1. From the Reflection File menu, select Reflection Workspace Settings.

  2. Under Trust Center, click Set Up API and Macro Security.

  3. Configure the API settings as follows:

    To

    Select

    Prevent custom applications from accessing this installation.

    Disable .Net API

    Determine if Reflection legacy macros are supported, and to determine which legacy API has preference for the GetObject() method used to retrieve API COM objects. (Reflection supports multiple APIs, but can accept GetObject() calls for only one type of legacy API object at a time.)

    Legacy API preference

  4. Under Action Permissions, specify what you want to happen if an action that has been restricted through Group Policy or the Permissions Manager is initiated through a macro or API call.

    To

    Select

    On a computer running Windows 10, Windows 8, or Windows 7, select to control restricted actions with User Account Control (UAC).

    Require elevated rights; do not execute on XP

    Select to run restricted actions that are initiated through a macro or API call as expected. The same actions won't run if they are initiated through the user interface.

    Execute the action

  5. To package this file for deployment, see Package Configuration Files.

    NOTE:These settings are saved in the Application.settings file. You can deploy this file to one of the following locations:

    Location for a single user: [AppDataFolder] The full path of the Roaming folder for the current user. The default is C:\Users\username\AppData\Roaming\. \Micro Focus\Reflection\Desktop\v16.1

    Location for all users: [CommonAppDataFolder] The full path to application data for all users. The default is C:\Program Data. \Micro Focus\Reflection\Desktop\v16.1