CTCONTROL Privilege | GRANT (SQL Form) | Teradata Vantage - CTCONTROL Privilege - Database Engine 20 - Teradata Vantage

SQL Data Control Language

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Database Engine 20
Teradata Vantage
Release Number
20.00
Published
June 2025
ft:locale
en-US
ft:lastEdition
2025-07-02
dita:mapPath
knb1747160619932.ditamap
dita:ditavalPath
jlp1749501702948.ditaval
dita:id
dvv1472243528022
lifecycle
latest
Product Category
Teradata Vantageā„¢

CTCONTROL enables a user to grant or revoke the CONNECT THROUGH privilege using the GRANT CONNECT THROUGH or REVOKE CONNECT THROUGH statements. You can only grant CTCONTROL to specific users.

Rules for Granting the CTCONTROL Privilege

The following rules apply to granting the CTCONTROL privilege:
  • The user specified by user_name must be an existing user of the system, not a role. If you attempt to grant CTCONTROL to a role, the request aborts and returns a message to the user.
  • User DBC can grant the CTCONTROL privilege to any other user WITH GRANT OPTION.
  • To submit a GRANT request for the CTCONTROL privilege to a user, you must either be user DBC or a user who has previously been granted the CTCONTROL privilege WITH GRANT OPTION.

    WITH GRANT OPTION permits the grantee to grant the privilege to other users.

For more information about GRANT CONNECT THROUGH, see GRANT CONNECT THROUGH.

Example: Granting the CTCONTROL Privilege

The following example grants user kate the privilege to grant the CONNECT THROUGH privilege to user trusteduser2:

GRANT CTCONTROL
ON trusteduser2
TO kate;
To then run a GRANT CONNECT THROUGH request, trusteduser2 requires the following privileges:
  • CTCONTROL on herself.
  • GRANT ... WITH ADMIN OPTION on any role specified

    See GRANT (Role Form).

  • DROP USER on any PERMANENT users specified as proxy users.