Contents

allowsUserScriptExecution

A Boolean value that indicates whether to allow user script execution during an assessment.

Declaration

var allowsUserScriptExecution: Bool { get set }

Discussion

User scripts, such as AppleScripts or Automator workflows, can automate tasks on the system. An assessment session disables user script execution by default, but you can allow it by setting allowsUserScriptExecution to true in the AEAssessmentConfiguration instance that you use to initialize a session.