16.20 - Example: Select the Connect Through Privileges for All Proxy Users from ConnectRulesV - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ Data Dictionary

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-05-03
dita:mapPath
zzu1512081120577.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval

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