There's no official way to do this but i guess you could check their client chat logs.. win+r, then type %appdata%, then go to .minecraft then the logs folder. there should be lots of different logs and then find the date you were on the server and hopefully the name will be there