Fetch the shipping address of a logged in user magento

<?php
$customer = Mage::getModel(‘customer/session’)->getCustomer();
foreach($customer->getAddressesCollection() as $address) $shiipingAddress[] = $address->getData();
foreach($shiipingAddress as $value) $region[]=$value[‘region_id’];
print_r($region);
?>

Share