[Vtigercrm-developers] vtws_retrieve(user_id) roleid is always empty.
Alan Lord
alanslists at gmail.com
Wed Oct 6 07:54:14 GMT 2021
On 06/10/2021 08:42, Sukhdev Mohan wrote:
> Hi Alan,
>
> The only way I was able to get user’s info apart from query is this:
>
> Users_Record_Model::getInstanceById('userid','Users');
That doesn't help when using the Server or REST API.
> Userid is not in form of 19xid
It is when you use webservices calls.
vtws_retrieve works fine for most fields just not for the roleid field.
Al
More information about the vtigercrm-developers
mailing list