Login Redirect Help

How do I set the redirect to goto the persons profile page after logining in? I tried using wp_get_currentuserinfo() but didn't work.