select logins from v$instance ;
alter system enable restricted session;
alter system disable restricted session;