With an ip address you can find out which isp ( local or nation wide ) the person is using, that's about it. Now if authorities have some kind of order to search, they can contact your isp and retrieve whatever personal information is attached to your account such as account holder, address etc. Just grabbing someones ip address of yahoo or something won't get you far.