[Vtigercrm-developers] Session sharing with external script

Nicolas Larcipretti niclarcipretti at gmail.com
Mon Sep 5 16:15:16 PDT 2011


Hi,

You could capture the user session ($_SESSION) and use the
"authenticated_user_id" attribute, that is the userid from the logged in
user.

Hope this helps you.

Cheers

Nicolas

2011/9/5 Richard Hills - TechnologyWise <richard at tw.co.nz>

> I am developing a script which sits on the same webserver as our vtiger
> installation and needs to look at the logged in vtiger user data, can
> someone please give me a quick example of how this is best done?
>
> All I need to know from vtiger is the userid which the user is currently
> logged in as, the rest I will do with direct database queries rather
> than using a vtiger specific API.
>
> Thank you.
>
> --
> Richard Hills
> TechnologyWise Ltd, Tauranga, NZ
> richard at tw.co.nz
> www.technologywise.co.nz
> ph: +64 (0)7 571 1060
> fax: +64 (0)7 571 1061
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20110905/f5710253/attachment-0002.html 


More information about the vtigercrm-developers mailing list