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

Data Dictionary

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-10-15
dita:mapPath
yoz1556235523563.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1092
lifecycle
previous
Product Category
Teradata Vantage™

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