$username = $ENV{REMOTE_USER}; $username = $q->remote_user; $username = remote_user();