Platform SDK: Exchange 2000 Server

Setting Security and Audit Properties

[This is preliminary documentation and subject to change.]

You use the ProcessDefinition design-time object to set the security mode for your workflow. The ProcessDefinition has a Mode property that tells the workflow engine in what mode you want the workflow to execute. In restricted mode you are not able to use COM objects in the ActionTable or create objects in memory from script, while in privileged mode you can use COM objects in the ActionTable and CoCreate almost any object in script. If you fail to set the mode property it defaults to zero (0). Zero is neither Restricted nor Privileged, and your application will not be run with a zero value in the mode property. You must explicitly set the security mode. Security modes are covered in more detail in the next section.

You also use the ProcessDefinition object to tell the workflow engine what tool to use for logging information, warning, and error messages. These messages are useful in monitoring and debugging your workflow application.