access_time 4 months ago languageEnglish
more_vert

Teradata - Add User to a Role

visibility 31 comment 0

Add user to a role

The following code snippet add userA to a role named TestRole:

grant TestRole to userA;

Add user to a role with admin option

You can also grant a role to a user with admin option so that the user can drop role, grant and revoke roles from user.

grant TestRole to userA with admin option;

The above code snippet adds user userA to role TestRole with admin option. 

copyright This page is subject to Site terms.
Like this article?
Share on

Please log in or register to comment.

account_circle Log in person_add Register

Log in with external accounts

Follow Kontext

Get our latest updates on LinkedIn.

Want to contribute on Kontext to help others?

Learn more

More from Kontext

visibility 550
thumb_up 0
access_time 9 months ago
visibility 433
thumb_up 1
access_time 9 months ago
visibility 131
thumb_up 0
access_time 8 months ago
visibility 594
thumb_up 0
access_time 9 months ago
visibility 729
thumb_up 0
access_time 8 months ago