[CalendarServer-users] Creating new principals interface

Andre LaBranche dre at apple.com
Wed Nov 12 11:09:09 PST 2014


> On Nov 12, 2014, at 10:56 AM, Gaurav Jain <monkeyfdude at gmail.com> wrote:
> 
> Hello,
> 
> I am trying to setup a "Calendar and Contacts" server for my application. It works great so far.
> 
> I was using XMLDirectoryService with default "admin" and "wsanchez" principal accounts.
> 
> Now, I was trying to setup an interface to create  "new principal/account".
> 
> Can you please provide pointers to examples / best practices to setup "new account" interface for Caldav server?

There is no CalDAV API for creating principals (i.e. ‘accounts’). If you’re using XML, just use your favorite XML library to add elements to the xml file specified in your config, in the form described in our DTDs.

http://trac.calendarserver.org/browser/CalendarServer/trunk/conf/auth/accounts.dtd

Also see the examples:

http://trac.calendarserver.org/browser/CalendarServer/trunk/conf/auth/accounts-test.xml
http://trac.calendarserver.org/browser/CalendarServer/trunk/conf/auth/resources-test.xml

-dre

> 
> 
> Regards,
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/calendarserver-users



More information about the calendarserver-users mailing list