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

system.verbs.builtins.mainResponder.members.getMemberName

on getMemberName (groupName, memberKey, adrMembers=nil) {
	<<Changes:
		<<9/26/01; 6:20:26 PM by PBS
			<<New optional parameter: adrMembers is the address of the membership group.
	on obscureEmail (email) {
		if email contains '@' {
			local (part1 = string.nthField (email, '@', 1));
			local (part2 = string.nthField (email, '@', 2));
			return (part1 + "@" + part2[1] + "...")};
		return (email)};
	try {
		local (adrmember = mainresponder.members.getmembertable (groupname, memberkey, adrMembers)); //PBS 09/26/01: pass adrMembers parameter
		return (adrmember^.personalInfo.name)}
	else {
		return (obscureEmail (memberKey))}}



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.