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


on getMemberTableWithHash (groupName, userName, hashString) {
	<<Return the address to the user's table.
		<<On the way in, check the hashString and scriptError if it's not correct.
			<<This is a basic access routine for #security scripts.
			<<04/10/00; 2:43:10 PM by PBS
	local (adrUser = mainResponder.members.getMemberTable (groupName, userName));
	if mainResponder.members.compareHashes (hashString, adrUser^.password, groupName) {
		return (adrUser)};
	scriptError ("The password is incorrect.")}

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.