- std::map<std::string, USER_PROPERTY_BASE*>::iterator it = params.find(name);
- if (it != params.end()) return it->second.ToString();
- else return "";
+REGISTRY::const_iterator it = properties.find(ToLower(name));
+if (it == properties.end())
+ return "";
+return it->second->ToString();
+}
+//-----------------------------------------------------------------------------
+inline
+bool USER_PROPERTIES::Exists(const std::string & name) const
+{
+return properties.find(ToLower(name)) != properties.end();