[Vtigercrm-developers] Create user with API in vtiger 7

Alan Lord alanslists at gmail.com
Tue Nov 5 15:07:40 GMT 2019

Just fyi, I think the issue is in include/Webservices/Create.php where 
it is checking for Reference fields...

See this foreach loop here:


What I did was before the if(isset...) test I wrapped the whole thing in a

if($fieldName != 'roleid') {



Then I was able to create Users.

This is a *hack*. It is ONLY temporary so I can create the necessary Users.

I am sure Prasad will not like my approach one little bit ;-)



On 05/11/2019 14:18, Alan Lord wrote:
> Hi Iko,
> Can you confirm you got to create users using the api?
> I'm trying on vtiger 7.1 and getting that bloody useless message:
>> Exception: Permission to perform the operation is denied for id

More information about the vtigercrm-developers mailing list