Current CRM User and external webpage

I created adashboard gadget that is a HTML page displaying Sage100 information. What i would like to do it have the HTML page redirect based on the current user that is logged into CRM.

Is it possible for me to extract what the login is of the current session on the computer I am on?

Thanks,

Anthony