Security Items
Background Information
For an introduction to security in Caché, see “About Caché Security” in the Caché Security Administration Guide.
Typically you create and modify security items via the Management Portal.
Available Tools
Provides security-related utility methods. These are as follows:
-
AddRoles()
-
Audit()
-
ChangePassword()
-
Check()
-
GetGlobalPermission()
-
Login()
-
ValidatePassword()
Availability: All namespaces.
Provides classes you can use to define and manipulate security items programmatically. Typically, you would use these to define resources, roles, and possibly starter user IDs as part of installation. Classes in this package include:
-
And others
Availability: %SYS namespace.
InterSystems provides several routines that you can use as an alternative to the Management Portal. See “Using Character-based Security Management Routines” in the Caché Security Administration Guide.
Availability: Most are available only in the %SYS namespace.
Reminder
The special variable $SYSTEM is bound to the %SYSTEM package. This means that (for ObjectScript) instead of ##class(%SYSTEM.class).method(), you can use $SYSTEM.class.method().