If you're doing this outside of the cb framework you need to add the cb api first, then you would do something like:
Code:
$myfield = $cbUser->getField('cb_myfield', null, 'html', 'none', 'list' );
Krileon has a link to a good tutorial in his forum signature that goes into more detail on it.