17.00 - Example: Select the Connect Through Privileges for All Proxy Users from ConnectRulesV - Teradata Database

Teradata Vantage™ - Data Dictionary

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
created_date
June 2020
category
Administration
Programming Reference
featnum
B035-1092-170K

The following select statement returns the connect through privileges for all proxy users:

SELECT TrustUser (FORMAT 'X(20)'), ProxyUser (FORMAT 'X(20)'),
 ProxyUserType FROM DBC.ConnectRulesV order by 2;

Result:

TrustUser             ProxyUser             ProxyUserType
--------------------  --------------------  -------------
trustuser1            APPPXYUSER1           A
trustuser1            APPPXYUSER2           A
trustuser1            APPPXYUSER3           A
trustuser1            APPPXYUSER4           A
trustuser1            PXYUSER1              P
trustuser1            PXYUSER2              P
trustuser1            PXYUSER3              P
trustuser1            PXYUSER4              P