Hi,<div><br></div><div>You could capture the user session ($_SESSION) and use the &quot;authenticated_user_id&quot; attribute, that is the userid from the logged in user. </div><div><br></div><div>Hope this helps you.</div>
<div><br></div><div>Cheers</div><div><br></div><div>Nicolas<br><br><div class="gmail_quote">2011/9/5 Richard Hills - TechnologyWise <span dir="ltr">&lt;<a href="mailto:richard@tw.co.nz">richard@tw.co.nz</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I am developing a script which sits on the same webserver as our vtiger<br>
installation and needs to look at the logged in vtiger user data, can<br>
someone please give me a quick example of how this is best done?<br>
<br>
All I need to know from vtiger is the userid which the user is currently<br>
logged in as, the rest I will do with direct database queries rather<br>
than using a vtiger specific API.<br>
<br>
Thank you.<br>
<br>
--<br>
Richard Hills<br>
TechnologyWise Ltd, Tauranga, NZ<br>
<a href="mailto:richard@tw.co.nz">richard@tw.co.nz</a><br>
<a href="http://www.technologywise.co.nz" target="_blank">www.technologywise.co.nz</a><br>
ph: <a href="tel:%2B64%20%280%297%20571%201060" value="+6475711060">+64 (0)7 571 1060</a><br>
fax: <a href="tel:%2B64%20%280%297%20571%201061" value="+6475711061">+64 (0)7 571 1061</a><br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>