Bulk Creation

Dumitru Catalin d.i.catalin at gmail.com
Mon Oct 5 15:10:43 CEST 2015


Hi Andy,

Thank you for this code, with that i can create all my 300 user accounts.
This is a good way for creating bulk users and is working very nice.

On 4 October 2015 at 04:18, Andy Kopciuch <akopciuch at bddf.ca> wrote:

> On Wednesday September 30 2015 11:42:12 signaldeveloper at gmail.com wrote:
> > Hello,
> >
> > We are migrating about users from our exchange to Kolab 3.4. Is there any
> > way to mass create email addresses? I know this question has been asked
> > before but I would like a script example if possible and a short how-to
> >
> > Thanks again guys!!!!
> >
>
> https://docs.kolab.org/architecture-and-design/kolab-wap-api.html
>
> You can pretty much accomplish anything you want using the API available.
> The
> kolab command line is a python implementation making use of the API.   The
> documentation has examples for both python and PHP.
>
> I went a different route, writing my own in PHP using the
> PEAR/Http_Request2
> module.   I found it made for a much easier to understand, and re-useable
> object oriented approach.  You could, in theory though, script things in
> any
> programming language you choose making calls to the API on your kolab
> server.
>
> The deployment I was working on had a time constraint, and I wrote this to
> serve my specific needs.   So things like type IDs on the user creation, or
> group creation are hard coded.  This could be made much more generic, and
> extended to all API calls.   I only implemented what I required.
>
> KolabWebService.php - Class implementing parts of the kolab API.
>
> I have attached examples demonstrating the use.
>
>
>
> Andy
>
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users
>



-- 
_______________________________
Dumitru Ionut Catalin

e-mail: d.i.catalin at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20151005/908d3da4/attachment.html>


More information about the users mailing list