Privatemsg with user_relationships - views link → send a private message to use
solved problem with the code below:

&lt;?php
$profile = content_profile_load('profile', $data-&gt;users_user_relationships_uid);
$url = privatemsg_get_link(array(user_load($profile-&gt;uid)));
print '&lt;div class="pm"&gt;'. l(t('Send a private message to the author'), $url, array('attributes' =&gt; array('class' =&gt; 'lichnoe'))) .'&lt;/div&gt;'; 
?&gt;