Monday, November 08, 2010 at 12:00 AM.

scripting2Suite.server.validatePassword

on validatePassword (username, password) {
	<<Changes
		<<6/9/10; 5:54:14 AM by DW
			<<Created. 
	local (adrdata = scripting2suite.inituser (username));
	if password != string (adrdata^.prefs.password) {
		scriptError ("Can't process the request because the password for \"" + username + "\" is incorrect.")}};
bundle { //test code
	validatePassword ("davewinerx", "hello")}



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.