ORA_LOGIN_USER function returns the current schema name as a VARCHAR2 datatype.
SQL>
SQL>
SQL> BEGIN
2 dbms_output.put_line(ora_login_user||' is the current user.');
3 END;
4 /
JAVA2S is the current user.
PL/SQL procedure successfully completed.
SQL>
SQL>
SQL>