SET TRUSTED ROLE
Examples
-
Assuming a mapping rule that assigns the role
ROLE1
to a userALEX
:CONNECT 'employee' USER ALEX PASSWORD 'password'; SELECT CURRENT_ROLE FROM RDB$DATABASE; ROLE =============================== ROLE1 SET ROLE ROLE2; SELECT CURRENT_ROLE FROM RDB$DATABASE; ROLE =============================== ROLE2 SET TRUSTED ROLE; SELECT CURRENT_ROLE FROM RDB$DATABASE; ROLE =============================== ROLE1