You define applications and specify their security via the Management Portal; see Defining Applications.
Persistent class that contains the application definitions. This class provides method like the following:
It also provides the following class queries:
Availability: %SYS namespace.