list_appcontext

Lists all the attributes of all the contexts in the current session.

list_appcontext ("context_name")

Parameters

Examples

Example 1 Shows the results of a user with appropriate permissions listing the application contexts:

select list_appcontext ("*", "*")
Context Name: (CONTEXT1)
Attribute Name: (ATTR1) Value: (VALUE2)
Context Name: (CONTEXT2)
Attribute Name: (ATTR1) Value: (VALUE!)
-----------
0

Example 2 Shows a user without appropriate permissions attempting to list the application contexts. The attempt fails, returning -1.

select list_appcontext()
Select permission denied on built-in
list_appcontext, database DBID
---------
-1

Usage

Permissions

To use list_appcontext, the user must have appropriate permissions. For more information, see “Setting permissions for using application context functions”.