Changing or Dropping Security Constraints in a MODIFY USER Statement - Analytics Database - Teradata Vantage

Security Administration

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-04-05
dita:mapPath
hjo1628096075471.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
zuy1472246340572
lifecycle
latest
Product Category
Teradata Vantage™

You can use the MODIFY USER statement to change or drop CONSTRAINT object assignments for an existing user.

The following example changes assignments made in Assigning Security Constraints in a CREATE USER Statement:

MODIFY USER
   Joe_Smith AS
   CONSTRAINT = Classification_Level (TopSecret, Unclassified DEFAULT),
   CONSTRAINT = Classification_Country (NULL)
   CONSTRAINT = Classification_Job (Analyst) ;

where:

Syntax Element Description
Classification_Level(TopSecret, Unclassified DEFAULT) Raises the user classification level by replacing Secret with TopSecret, while retaining the DEFAULT Unclassified level.
Classification_Country(NULL) Drops the Classification_Country constraint assignment from the user.
Classification_Job (Analyst) Adds the new hierarchical category Classification_Job, and assigns the Analyst classification level.
A new or changed security constraint assignment takes effect at the next user logon.