How to pull out all user data in a template?
If i understand your question correct, you like to output the user data. I don't think that you need the getContent() function. But it's important, that you use the first() function. Here is your code:

{% set userProfile = craft.users.id(userId).first() %}
{{ userProfile.yourFieldname }} 


Hope it works.