Skip to main content

Example Setup

The examples in the following sections involve creating users, resources, and roles as well as assigning users to roles. The appendix to this tutorial contains instructions for performing each of these tasks:

In addition, some of the examples require that you import the class SecurityTutorial.AuthorizationTests into Caché. This class is stored in Authorization.xml.

Note:

Authorization.xml is in install-dir\Dev\tutorials\security\. In a standard Caché installation, install-dir is in C:\InterSystems\Cache. Import the application files into the USER namespace using Terminal. Importing Code Using Terminal contains instructions. This example assumes that you have installed Caché using minimal security.

FeedbackOpens in a new tab