Sunday, November 14, 2010 at 5:00 AM.

workspace.userlandSamples.setupWebeditServer

on setupWebeditServer (name, password, email) {
	<<Changes
		<<11/2/2010; 6:55:18 PM by DW
			<<Run this script to set up WebEdit server so you can check out and check in objects in the main root and in guest databases. 
	user.betty.rpcHandlers.webEdit = @webEditServer.rpcHandlers.webEdit;
	people.newuser (name, password, email);
	people.attachServiceToUser (name, "Custody");
	people.attachServiceToUser (name, "WebEdit")}
<<bundle //test code
	<<setupWebeditServer ("Bull Mancuso", string.getrandompassword (10), "bull@mancuso.net")



This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.