Sep 17, 2025: New SYS_ CONTEXT function for getting context about applications, sessions, and organizations¶
You can call the new SYS_CONTEXT function to get context information about:
- The current application
- The current environment (for example, the current account or region)
- The current session
For example, you can:
- Determine if an application role is activated.
- Identify the client, driver, or library that is calling the function.
- Determine if the function is being called by a person, task, or SPCS service.
You can also get context information about organizations, including information about the organization information related to the session. For example, you can:
- Determine if an organization user or group has been imported.
- Determine if the role representing an organization user group is activated.
- Identify the name of the organization user who started the session.
Note
Getting context information about organizations is in Preview.
For more information, see SYS_CONTEXT.