[Vtigercrm-developers] vtws_retrieve(user_id) roleid is always empty.

Sukhdev Mohan s.mohan at myti.it
Wed Oct 6 07:42:41 GMT 2021


Hi Alan,

The only way I was able to get user’s info apart from query is this:
Users_Record_Model::getInstanceById('userid','Users');

Userid is not in form of 19xid

BR

Sukhdev Mohan
Developer
On 5 Oct 2021, 22:21 +0200, Alan Lord <alanslists at gmail.com>, wrote:
> How to get the roleid?
>
> I have tested vtws_retrieve('19x1', $user) on 7.1, 7.2. 7.3 & 7.4 and
> the roleid is always empty. (Also tried a different user id).
>
> TIA
>
> Al
>
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20211006/d865fc75/attachment.html>


More information about the vtigercrm-developers mailing list