• I'm not sure you can. I'm not sure it should matter from the server. The idea of the API is the server sees calls to it without worrying about clients.

    Does sys.dm_exec_sessions give you what you need?

    http://msdn.microsoft.com/en-us/library/ms176013.aspx