xprofile field everywhere in the website

I'm trying to call an xprofile field that is in my personalised sidebar, with the following code :
<?php echo xprofile_get_field_data('9'); ?>
the problem is that if the member is not in the members section we don't see it, does someone have an idea ?

Thanks in advance,