17.10 - Example: Select the Connect Through Privileges for All Proxy Users from ConnectRulesV - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - Data Dictionary

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Administration
Programming Reference
Publication ID
B035-1092-171K
Language
English (United States)

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