Assigning Security Constraints in a CREATE PROFILE Statement - Advanced SQL Engine - Teradata Database

Security Administration

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2022-02-15
dita:mapPath
ppz1593203596223.ditamap
dita:ditavalPath
wrg1590696035526.ditaval
dita:id
B035-1100
lifecycle
previous
Product Category
Teradata Vantageā„¢

You can use the CREATE PROFILE statement to assign security constraints to a profile, and then use the CREATE USER or MODIFY USER statement to assign the profile to users.

You can also use a GRANT CONNECT THROUGH statement to assign a profile to an application proxy user.
  1. Create the profile and assign one or more security constraints, for example:
    CREATE PROFILE
       profile_name  AS ... ,
       CONSTRAINT = Classification_Level (Secret, Unclassified DEFAULT),
       CONSTRAINT = Classification_Country (US, UK, GER);
  2. Assign the profile constraints to users by naming the profile in a CREATE USER or MODIFY USER statement. For example:
    [CREATE|MODIFY] USER AS PROFILE =  profile_name

    A new or changed security constraint assignment takes effect at the next user logon.