سؤال

I am developing a CRM in Android, and I am using the vtwsclib library in order to make VTiger operations. But the Login function of this library only returns a boolean which says if the user is logged in.

But how could I get the userid? I ask this because I need to do queries which requires it.

هل كانت مفيدة؟

المحلول

use $client->doQuery('select * from vtiger_users where user_name='admin'');

That doLogin() function is to get authenticated and get access to perform webservice operations

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top