If you mean that he typed the password into your N900 so that your N900 is working on his Wi-Fi, but you want to know the password so that you can use it on another device or use it after re-flashing your N900, then there are ways of finding out the password. E.g. see thread http://talk.maemo.org/showthread.php?t=67549