list_appcontext

Lists all the attributes of all the contexts in the current session. list_appcontext is provided by the ACF.

Syntax

list_appcontext(["context_name"])

Parameters

Examples

Usage

  • This function returns 0 for success.

  • Since built-in functions do not return multiple result sets, the client application receives list_appcontext returns as messages.

See also Row-Level Access Control in System Administration Guide for more information on the ACF.

Standards

ANSI SQL – Compliance level: Transact-SQL extension

Permissions

The permission checks for list_appcontext differ based on your granular permissions settings.

SettingsDescription
Granular permissions enabled

With granular permissions enabled, you must have select permission on list_appcontext to execute the function.

Granular permissions disabled

With granular permissions disabled, you must have select permission on list_appcontext or be a user with sa_role to execute the function.

Related reference
get_appcontext
list_appcontext
rm_appcontext
set_appcontext