15.10 - DEFAULT ROLE - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

The assignment of a default role provides a user with an enabled role at logon. If you do not assign a default role to the user, or if the user wants to enable a different assigned role, the user must submit a SET ROLE request to enable the needed role for a session. See SET ROLE.

role_name
Name of a role (which may include nested roles) to assign as the default role for the user, replacing the previously existing default role if it exists. The specified role must already be granted to the user.
ALL
Indicates that all roles currently granted to the user, including any nested roles, are enabled by default.
NONE
No default role is assigned to the user.
NULL
Removes any previous default role assignment and does not assign a default role to the user.