I am having trouble getting custom properties from a user profile.
I have added a property of type String called "Code"
{{velocity}}
#set($fn= $userObj.getXWikiObject().get("first_name").value)
$fn
#set($c= $userObj.getXWikiObject().get("Code").value)
$c
{{/velocity}}
When the code runs it displays
--------------------
Jeff
$c
--------------------
If I go to the user profile the property Code has a value. I have checked the
capitalization and it is correct.
What is the correct way of doing this?