These are some simple functions that help you get user information:
Although most likely you'll be only interested in the second one. You can see them in action here.
Just follow the three variables assigned for each of those functions in that link ($useraccount, $userprofile, $userfields) and you'll have the tutorial right there :)
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.
April 20, 2021: Q2A 1.8.6 released!