Using the API to retrive the value of a custom user field from a user

GBU.
You people really seem to have solution to every problem.
I read this whole topic, but somehow missed that related thread.