Access Control Action Set: Syntax

Provides actions for managing user access to resources

assumeRole Action

Assumes a role.

Explore Your Superuser Status

CASL Syntax

accessControl.assumeRole <result=results> <status=rc> /
required parameter adminRole="ACTION" | "DATA" | "SUPERUSER"
;
indicates a required parameter

Parameter Descriptions

* adminRole="ACTION" | "DATA" | "SUPERUSER"

specifies the administrator role.

DefaultSUPERUSER
ACTION

provides unrestricted (permission-exempt) access to action sets and actions.

DATA

provides unrestricted (permission-exempt) access to caslib, table, and column definitions, including the ability to add caslibs.

SUPERUSER

provides the privileges of the action and data roles and the ability to manage roles and paths.

assumeRole Action

Assumes a role.

Explore Your Superuser Status

Lua Syntax

results, info = s:accessControl_assumeRole{
required parameter adminRole="ACTION" | "DATA" | "SUPERUSER"
}
indicates a required parameter

Parameter Descriptions

* adminRole="ACTION" | "DATA" | "SUPERUSER"

specifies the administrator role.

DefaultSUPERUSER
ACTION

provides unrestricted (permission-exempt) access to action sets and actions.

DATA

provides unrestricted (permission-exempt) access to caslib, table, and column definitions, including the ability to add caslibs.

SUPERUSER

provides the privileges of the action and data roles and the ability to manage roles and paths.

assumeRole Action

Assumes a role.

Explore Your Superuser Status

Python Syntax

results= s.accessControl.assumeRole(
required parameter adminRole="ACTION" | "DATA" | "SUPERUSER"
)
indicates a required parameter

Parameter Descriptions

* adminRole="ACTION" | "DATA" | "SUPERUSER"

specifies the administrator role.

DefaultSUPERUSER
ACTION

provides unrestricted (permission-exempt) access to action sets and actions.

DATA

provides unrestricted (permission-exempt) access to caslib, table, and column definitions, including the ability to add caslibs.

SUPERUSER

provides the privileges of the action and data roles and the ability to manage roles and paths.

assumeRole Action

Assumes a role.

Explore Your Superuser Status

R Syntax

results <– cas.accessControl.assumeRole(s,
required parameter adminRole="ACTION" | "DATA" | "SUPERUSER"
)
indicates a required parameter

Parameter Descriptions

* adminRole="ACTION" | "DATA" | "SUPERUSER"

specifies the administrator role.

DefaultSUPERUSER
ACTION

provides unrestricted (permission-exempt) access to action sets and actions.

DATA

provides unrestricted (permission-exempt) access to caslib, table, and column definitions, including the ability to add caslibs.

SUPERUSER

provides the privileges of the action and data roles and the ability to manage roles and paths.

Last updated: September 20, 2022