Skip to main content

Security Items

Work with roles, resources, applications, SSL configurations, and other security items programmatically (create, manipulate, export, and so on).

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.

Security package

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:

Availability: %SYS namespace.

Security routines

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.


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().

See Also

FeedbackOpens in a new tab