how to get current mws logged in user details.

Hi,

I am looking for the mws API reference to get the current logged in user. We have planned to use the NTLM authentication and i need to show the User name on portlet views. Please help

Thanx