[Vtigercrm-developers] Ways to create bulk users
salim
salimcmd at gmail.com
Mon Nov 19 04:02:28 PST 2012
Hi Martin
A python script for Creating using vtiger CRM Web Services Client Library
download :
https://www.vtiger.com/crm-utilities/vtwsclib-vtiger-crm-web-services-client-library/
import sys
from WSClient import *
# Create Vtiger Webservice client
client = Vtiger_WSClient('http://localhost/vtigercrm/')
login = client.doLogin('admin', '9sOmBPZbor2TvVHN')
userDic = {
'user_name' : 'Muhammed Abdul',
'user_password' : '123456',
'email1' : 'user1 at gmail.com',
'confirm_password' : '123456',
'last_name' : '',
'roleid' : 'H1'
}
UserInfo = client.doCreate('Users',userDic)
print 'RecordId: ',UserInfo['id']
On 19 November 2012 16:48, Alan Lord <alanslists at gmail.com> wrote:
>
>
> On 19/11/12 10:55, Marian Banica wrote:
> > @Alan... can you give me more details about this script?
> > Can i have the script please?
>
> I don't have one - I would *write* one.
>
> Al
>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
--
Muhammed Abdul Salim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20121119/04d56268/attachment-0001.html
More information about the vtigercrm-developers
mailing list