Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 31 Mar 2006 @ 12:37:17 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Switching roles.
 
From:   Krause, Andreas

Hi Srikanth

With V2R5.0, only one role can be the session's current or active role. Enabled roles are referred to as the current roleplusany nested roles.

At logon, the current role is determined by the DEFAULT ROLE value for the user.

Sample command:

     CREATE/MODIFY USER user1 AS ..., DEFAULT ROLE = HR_Role;

A user may change roles by executing the following command:

     SET ROLE role_name;

Starting with V2R5.1, the SET ROLE ALL command allows a user to have all valid roles (for that user) to be active.

Sample command:

     CREATE/MODIFY USER user1 AS ..., DEFAULT ROLE = ALL;or SET ROLE ALL;

So with V2R5.1 or higher it should be possible to have more than one active role for a user.

Hope this answer your question...


Regards

Andreas



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023