How to get the current user from Redshift database

Run the below select statement to obtain the username of the current session in Redshift.

select current_user;
See also  How to Stop, Start, Reboot, Terminate EC2 Instances from AWS CLI