Skip to main content

Security Items (Tools/APIs)

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

Background Information

For an introduction to security in InterSystems IRIS® data platform, see About InterSystems Security.

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 Command-Line Security Management Utilities.

Availability: Most are available only in the %SYS namespace.


The special variable $SYSTEM is bound to the %SYSTEM package. This means that instead of ##class(%SYSTEM.class).method(), you can use $SYSTEM.class.method().

See Also

FeedbackOpens in a new tab