Have a look at the Meteor.server.sessions
object on the server. The connectionHandle
sub-object is probably the most useful property of each. I've only played around with these rather than using them for anything meaningful, but it seems to do what you require.